Browse code

Deaktivacia ikoniek pri kontaktoch, ak je pouzivatel aplikacie prihlaseny cez FB

Cinan Rakosnik authored on 29/05/2013 at 16:00:44
Showing 1 changed files
... ...
@@ -113,6 +113,9 @@ class Xmpp.Views.Contacts.ContactView extends Backbone.View
113 113
 
114 114
     @hideIcons()
115 115
 
116
+    if App.Models.me.get('isFB')
117
+      return
118
+
116 119
     if @model.get('usingMyApp') and @model.get('status') != 'offline'
117 120
       if not activeChat or not activeChat.get('isMultiChat')
118 121
         $(@el).find('.action .multichat').show()