diff plugins/plugin_xep_0100.py @ 30:d6b613764dd7

new plugin for xep 0077 (In-Band registration): first draft - wix: register in gateways manager now call the in-band registration process
author Goffi <goffi@goffi.org>
date Tue, 08 Dec 2009 04:19:41 +0100
parents 53e921c8a357
children a61beb21d16d
line wrap: on
line diff
--- a/plugins/plugin_xep_0100.py	Tue Dec 08 02:31:35 2009 +0100
+++ b/plugins/plugin_xep_0100.py	Tue Dec 08 04:19:41 2009 +0100
@@ -48,7 +48,7 @@
 
         for identity in disco.identities:
             if identity[0] == 'gateway':
-                print ("Found gateway (%s): %s" % (entity, disco.identities[identity]))
+                print ("Found gateway (%s): %s" % (entity.full(), disco.identities[identity]))
                 self.__gateways[request_id][entity.full()] = {
                     'name':disco.identities[identity],
                     'type':identity[1]