X-Git-Url: https://code.delx.au/pymsnt/blobdiff_plain/b3df5b44f48d868de5406cf680bba338d128a28b..4c9bfc8d92c70245fc650a7df1cbc6e6cc1a050f:/src/main.py diff --git a/src/main.py b/src/main.py index 8dca203..902ef79 100644 --- a/src/main.py +++ b/src/main.py @@ -117,8 +117,8 @@ class PyTransport(component.Service): # Discovery, as well as some builtin features self.discovery = disco.ServerDiscovery(self) - self.discovery.addIdentity("gateway", legacy.id, legacy.name, config.jid) - self.discovery.addIdentity("conference", "text", legacy.name + " Chatrooms", config.jid) + self.discovery.addIdentity("gateway", legacy.id, config.discoName, config.jid) + self.discovery.addIdentity("conference", "text", config.discoName + " Chatrooms", config.jid) self.discovery.addFeature(disco.XCONFERENCE, None, config.jid) # So that clients know you can create groupchat rooms on the server self.discovery.addFeature("jabber:iq:conference", None, config.jid) # We don't actually support this, but Psi has a bug where it looks for this instead of the above self.discovery.addIdentity("client", "pc", "MSN Messenger", "USER")