Philipp Hörist pushed to branch master at gajim / python-nbxmpp


Commits:
3a279b51 by lovetox at 2021-02-11T22:37:11+01:00
Protocol: Always return string

- - - - -
ce28d895 by lovetox at 2021-02-12T20:31:03+01:00
Client: Remove GSSAPI from default mechanisms

- - - - -


2 changed files:

- nbxmpp/client.py
- nbxmpp/protocol.py


Changes:

=====================================
nbxmpp/client.py
=====================================
@@ -280,9 +280,6 @@ class Client(Observable):
     def mechs(self):
         return set(self._allowed_mechs or set(['SCRAM-SHA-256',
                                                'SCRAM-SHA-1',
-                                               'GSSAPI',
-                                               # 'SCRAM-SHA-256-PLUS',
-                                               # 'SCRAM-SHA-1-PLUS',
                                                'PLAIN']))
 
     def set_mechs(self, mechs):


=====================================
nbxmpp/protocol.py
=====================================
@@ -1344,7 +1344,7 @@ class Presence(Protocol):
         """
         Return the status string of the message
         """
-        return self.getTagData('status')
+        return self.getTagData('status') or ''
 
     def setPriority(self, val):
         """



View it on GitLab: 
https://dev.gajim.org/gajim/python-nbxmpp/-/compare/9124cfca492beffa8eb53bb52b528d35574e5b77...ce28d89579c1a80626f8f21c375abdbadfc6546b

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/python-nbxmpp/-/compare/9124cfca492beffa8eb53bb52b528d35574e5b77...ce28d89579c1a80626f8f21c375abdbadfc6546b
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to