diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-06-21 14:42:54 (GMT) |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-06-21 14:42:54 (GMT) |
commit | c398f5ed8c6498d4f252c966fe1f6c2ec2c535d6 (patch) | |
tree | 9202ca93823936f85bde2f5b349e5f12c9425267 /src | |
parent | d411a2cf09366f15bc3bcd5cf7b4cc7fa180607a (diff) |
server_plugin: Hard-code connection to conference.<server> again.
We shouldn't have to do this, but Gabble sometimes finds the IRC
transport and goes "that has chatrooms, that'll do nicely". This can be
reverted if fixed in Gabble later.
Diffstat (limited to 'src')
-rw-r--r-- | src/server_plugin.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/server_plugin.py b/src/server_plugin.py index baade03..bfbd21e 100644 --- a/src/server_plugin.py +++ b/src/server_plugin.py @@ -88,6 +88,15 @@ class ServerPlugin(TelepathyPlugin): 'register': not self._owner.get_registered(), } + def suggest_room_for_activity(self, activity_id): + """Suggest a room to use to share the given activity. + """ + # We shouldn't have to do this, but Gabble sometimes finds the IRC + # transport and goes "that has chatrooms, that'll do nicely". Work + # around it til Gabble gets better at finding the MUC service. + return '%s@%s' % (activity_id, + self._account['fallback-conference-server']) + def _find_existing_connection(self): """Try to find an existing Telepathy connection to this server |