Test DiscoIdentity component name

darcs-hash:20070321172639-86b55-5b6da4fc5c905e26b60f414012590ee3a70f2d66.gz
This commit is contained in:
David Rousselie
2007-03-21 18:26:39 +01:00
parent 2791e3cd61
commit 6753545187
2 changed files with 3 additions and 1 deletions

View File

@@ -253,7 +253,7 @@ class JCLComponent(Component, object):
disco_info.add_feature("jabber:iq:version")
if len(self.account_classes) == 1:
disco_info.add_feature("jabber:iq:register")
DiscoIdentity(disco_info, self.disco_identity.name,
DiscoIdentity(disco_info, self.name,
self.disco_identity.category,
self.disco_identity.type)
return disco_info