diff src/plugins/plugin_xep_0100.py @ 372:f964dcec1611

core: plugins refactored according to bridge + updatedValue now use profile
author Goffi <goffi@goffi.org>
date Wed, 06 Jul 2011 01:06:18 +0200
parents 7c79d4a8c9e6
children cf005701624b
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0100.py	Wed Jul 06 01:04:24 2011 +0200
+++ b/src/plugins/plugin_xep_0100.py	Wed Jul 06 01:06:18 2011 +0200
@@ -44,8 +44,8 @@
         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='ss', out_sign='s', method=self.findGateways)
-        host.bridge.addMethod("gatewayRegister", ".request", in_sign='ssa(ss)s', out_sign='s', method=self.gatewayRegister)
+        host.bridge.addMethod("findGateways", ".plugin", in_sign='ss', out_sign='s', method=self.findGateways)
+        host.bridge.addMethod("gatewayRegister", ".plugin", in_sign='ssa(ss)s', out_sign='s', method=self.gatewayRegister)
 
     def __inc_handled_items(self, request_id):
         self.__gateways[request_id]['__handled_items']+=1