changeset 1481:621b045cd284

QuickFrontend: removed old watched stuff as a new plugin now manages it properly
author Goffi <goffi@goffi.org>
date Thu, 20 Aug 2015 18:44:39 +0200
parents 8d61160ee4b8
children 80cd55dd5b04
files frontends/src/quick_frontend/quick_app.py
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/frontends/src/quick_frontend/quick_app.py	Thu Aug 20 18:43:56 2015 +0200
+++ b/frontends/src/quick_frontend/quick_app.py	Thu Aug 20 18:44:39 2015 +0200
@@ -86,8 +86,6 @@
         self._plug_profile_gotCachedValues({})
 
     def _plug_profile_gotCachedValues(self, cached_values):
-        # TODO: watched plugin
-
         # add the contact list and its listener
         contact_list = self.host.addContactList(self.profile)
         self.host.contact_lists[self.profile] = contact_list
@@ -541,10 +539,6 @@
                 self.setPresenceStatus(show, status, profile=profile)
             return
 
-        # #FIXME: must be moved in a plugin
-        # if entity.bare in self.profiles[profile].data.get('watched',[]) and not entity.bare in self.profiles[profile]['onlineContact']:
-        #     self.showAlert(_("Watched jid [%s] is connected !") % entity.bare)
-
         self.callListeners('presence', entity, show, priority, statuses, profile=profile)
 
     def roomJoinedHandler(self, room_jid_s, room_nicks, user_nick, profile):
@@ -692,8 +686,6 @@
         if (namespace, name) == ("Connection", "JabberID"):
             log.debug(_(u"Changing JID to %s") % value)
             self.profiles[profile].whoami = jid.JID(value)
-        elif (namespace, name) == ("Misc", "Watched"):
-            self.profiles[profile]['watched'] = value.split()
         elif (namespace, name) == ('General', C.SHOW_OFFLINE_CONTACTS):
             self.contact_lists[profile].showOfflineContacts(C.bool(value))
         elif (namespace, name) == ('General', C.SHOW_EMPTY_GROUPS):