Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/telepathy_plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/telepathy_plugin.py')
-rw-r--r--src/telepathy_plugin.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/telepathy_plugin.py b/src/telepathy_plugin.py
index 25bbd1c..6eee900 100644
--- a/src/telepathy_plugin.py
+++ b/src/telepathy_plugin.py
@@ -371,6 +371,9 @@ class TelepathyPlugin(gobject.GObject):
return jids
+ def _handle_is_channel_specific(self, handle):
+ raise NotImplementedError
+
def _contacts_online(self, handles):
"""Handle contacts coming online"""
relevant = []
@@ -382,7 +385,8 @@ class TelepathyPlugin(gobject.GObject):
pass
elif (handle in self._subscribe_members or
handle in self._subscribe_local_pending or
- handle in self._subscribe_remote_pending):
+ handle in self._subscribe_remote_pending or
+ not self._handle_is_channel_specific(handle)):
relevant.append(handle)
# else it's probably a channel-specific handle - can't create a
# Buddy object for those yet