Browse code

FIX: zobrazone irelevantne aj pri offline kontaktoch

Cinan Rakosnik authored on 13/05/2013 at 20:55:09
Showing 1 changed files
... ...
@@ -102,7 +102,7 @@ class Xmpp.Views.Contacts.ContactView extends Backbone.View
102 102
 
103 103
     $(@el).find('.action .multichat, .action .invite, .action .kick, .action .make-owner').hide()
104 104
 
105
-    if (@model.get('usingMyApp'))
105
+    if @model.get('usingMyApp') and @model.get('status') != 'offline'
106 106
       if not activeChat or not activeChat.get('isMultiChat')
107 107
         $(@el).find('.action .multichat').show()
108 108
       else if activeChat.get('isMultiChat') and activeChat.isMeOwner() and not activeChat.isAttending(@model)