Dont be lenient with namespace

This commit is contained in:
Philipp Hörist 2018-04-19 17:59:17 +02:00
parent a32100564c
commit 70a7000d44
1 changed files with 1 additions and 1 deletions

View File

@ -800,7 +800,7 @@ PresenceHelperEvent):
xtags = self.stanza.getTags('x') xtags = self.stanza.getTags('x')
for x in xtags: for x in xtags:
namespace = x.getNamespace() namespace = x.getNamespace()
if namespace.startswith(nbxmpp.NS_MUC): if namespace == nbxmpp.NS_MUC_USER:
self.is_gc = True self.is_gc = True
elif namespace == nbxmpp.NS_SIGNED: elif namespace == nbxmpp.NS_SIGNED:
sig_tag = x sig_tag = x