services/presence/server_plugin: Fix error logging for RequestHandles

This commit is contained in:
Simon McVittie 2007-05-23 17:41:49 +01:00
parent f4327759fc
commit b16bb9d6cc

View File

@ -488,7 +488,7 @@ class ServerPlugin(gobject.GObject):
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))
error_handler=lambda *args: self._join_error_cb(activity_id, signal, userdata, 'RequestHandles([%u])' % room_jid, *args))
else:
self._join_activity_get_channel_cb(activity_id, signal, userdata, [handle])