# HG changeset patch # User Goffi # Date 1440089079 -7200 # Node ID 621b045cd2842e5d83dc9822a7aedf4b8e06778c # Parent 8d61160ee4b82bd0a1f2e6c7865ddf5d8f968e68 QuickFrontend: removed old watched stuff as a new plugin now manages it properly diff -r 8d61160ee4b8 -r 621b045cd284 frontends/src/quick_frontend/quick_app.py --- 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):