QuickFrontend: removed old watched stuff as a new plugin now manages it properly
This commit is contained in:
parent
135fba2de1
commit
621221c16e
1 changed files with 0 additions and 8 deletions
|
|
@ -86,8 +86,6 @@ class ProfileManager(object):
|
|||
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 @@ class QuickApp(object):
|
|||
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 @@ class QuickApp(object):
|
|||
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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue