From 4449b4e237ca6b6e813da35fa6e7df36428f42d8 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Mon, 16 Apr 2007 22:40:20 -0400 Subject: [PATCH] Work around server not figuring out conference server address --- services/presence/server_plugin.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/presence/server_plugin.py b/services/presence/server_plugin.py index 5d41a692..268552c7 100644 --- a/services/presence/server_plugin.py +++ b/services/presence/server_plugin.py @@ -324,7 +324,9 @@ class ServerPlugin(gobject.GObject): def _internal_join_activity(self, activity_id, signal, userdata): handle = self._activities.get(activity_id) if not handle: - self._conn[CONN_INTERFACE].RequestHandles(CONNECTION_HANDLE_TYPE_ROOM, [activity_id], + # FIXME: figure out why the server can't figure this out itself + room_jid = activity_id + "@conference." + self._account["server"] + self._conn[CONN_INTERFACE].RequestHandles(CONNECTION_HANDLE_TYPE_ROOM, [room_jid], reply_handler=lambda *args: self._join_activity_get_channel_cb(activity_id, signal, userdata, *args), error_handler=lambda *args: self._join_error_cb(activity_id, signal, userdata, *args)) else: