diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-06-26 01:31:20 (GMT) |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-06-26 01:31:20 (GMT) |
commit | 2c3e0b29c445122dec8cd781e4e9d8195a79e657 (patch) | |
tree | c0a5aeec70ffcff2c3cd76987b7b80409eb5e762 | |
parent | 91be0d5c13ab516949c5dcc42f481dc796adc33c (diff) |
telepathy_plugin: add a FIXME for retrying getting contact-list channels.
On highly congested networks (DebConf) it's possible for the roster channels to
time out, for instance.
-rw-r--r-- | src/telepathy_plugin.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/telepathy_plugin.py b/src/telepathy_plugin.py index 7d84536..d95b642 100644 --- a/src/telepathy_plugin.py +++ b/src/telepathy_plugin.py @@ -402,6 +402,8 @@ class TelepathyPlugin(gobject.GObject): # FIXME: cope with CMs that lack some of the interfaces # FIXME: cope with CMs with no 'publish' or 'subscribe' + # FIXME: retry if getting the channel times out + # request both handles at the same time to reduce round-trips pub_handle, sub_handle = self._conn[CONN_INTERFACE].RequestHandles( HANDLE_TYPE_LIST, ['publish', 'subscribe']) |