diff src/plugins/plugin_xep_0077.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_0077.py	Wed Jul 06 01:04:24 2011 +0200
+++ b/src/plugins/plugin_xep_0077.py	Wed Jul 06 01:06:18 2011 +0200
@@ -47,8 +47,8 @@
         info(_("Plugin XEP_0077 initialization"))
         self.host = host
         self.triggers = {}  #used by other protocol (e.g. XEP-0100) to finish registration. key = target_jid
-        host.bridge.addMethod("in_band_register", ".communication", in_sign='ss', out_sign='s', method=self.in_band_register)
-        host.bridge.addMethod("in_band_submit", ".request", in_sign='sa(ss)', out_sign='s', method=self.in_band_submit)
+        host.bridge.addMethod("in_band_register", ".plugin", in_sign='ss', out_sign='s', method=self.in_band_register)
+        host.bridge.addMethod("in_band_submit", ".plugin", in_sign='sa(ss)', out_sign='s', method=self.in_band_submit)
    
     def addTrigger(self, target, cb, profile):
         """Add a callback which is called when registration to target is successful"""