diff options
-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 |