diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-05-28 14:56:39 (GMT) |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-05-28 14:56:39 (GMT) |
commit | 706830c4892d3d4bc3b28114580f52805bf425a1 (patch) | |
tree | f8aa71105f296c9814e131a11dc07e9661c6820b /services | |
parent | aad2afdae21223bdc0e5cfe732fcd3b224d778fd (diff) |
services/presence/server_plugin: Don't watch MembersChanged in activities.
My plan is now to do this in the Activity class, once the PS has a reliable
way to map handles to buddies.
Diffstat (limited to 'services')
-rw-r--r-- | services/presence/server_plugin.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/services/presence/server_plugin.py b/services/presence/server_plugin.py index a1f93bf..26adba9 100644 --- a/services/presence/server_plugin.py +++ b/services/presence/server_plugin.py @@ -1011,15 +1011,6 @@ class ServerPlugin(gobject.GObject): else: return - def members_changed(message, added, removed, local_pending, - remote_pending, actor, reason): - # FIXME: if contacts were added, who don't have this - # activity in their PEP node for whatever reason, then - # emit buddy-activities-changed for them (otherwise they - # could be in an activity while pretending they weren't, - # which would be crazy) - pass - def got_all_members(current, local_pending, remote_pending): if local_pending: for act_id, act_handle in self._activities.iteritems(): @@ -1029,10 +1020,7 @@ class ServerPlugin(gobject.GObject): logger.debug('Unable to get channel members for %s:', object_path, exc_info=1) - # hook the MembersChanged signal so we get told when people - # join/leave group = channel[CHANNEL_INTERFACE_GROUP] - group.connect_to_signal('MembersChanged', members_changed) group.GetAllMembers(reply_handler=got_all_members, error_handler=got_all_members_err) |