Mercurial > libervia-backend
diff plugins/plugin_xep_0100.py @ 65:d35c5edab53f
SàT: multi-profile: memory & dbus bridge's methods profile management
/!\ profiles not managed yet for dbus signals
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 31 Jan 2010 15:57:03 +1100 |
parents | d46f849664aa |
children | 86f1f7f6d332 |
line wrap: on
line diff
--- a/plugins/plugin_xep_0100.py Sat Jan 30 16:17:33 2010 +1100 +++ b/plugins/plugin_xep_0100.py Sun Jan 31 15:57:03 2010 +1100 @@ -43,7 +43,7 @@ info("Gateways plugin initialization") self.host = host self.__gateways = {} #dict used to construct the answer to findGateways. Key = target jid - host.bridge.addMethod("findGateways", ".communication", in_sign='s', out_sign='s', method=self.findGateways) + host.bridge.addMethod("findGateways", ".communication", in_sign='ss', out_sign='s', method=self.findGateways) host.bridge.addMethod("gatewayRegister", ".request", in_sign='ssa(ss)', out_sign='s', method=self.gatewayRegister) def __inc_handled_items(self, request_id): @@ -109,6 +109,7 @@ """ client = self.host.getClient(profile_key) assert(client) + print "target ===>", target to_jid = jid.JID(target) debug ("find gateways (target = %s)" % to_jid.full()) request_id = self.host.get_next_id()