Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits: f020ac26 by lovetox at 2021-11-02T23:54:47+01:00 Blocking: Don’t abort processing after parsing unblocks
If we return the IQ will not be answered
- - - - - fe4b7e03 by lovetox at 2021-11-03T00:36:13+01:00 Structs: Inherit from NamedTuple
- - - - -
2 changed files:
- nbxmpp/modules/blocking.py - nbxmpp/structs.py
Changes:
===================================== nbxmpp/modules/blocking.py ===================================== @@ -84,7 +84,6 @@ class Blocking(BaseModule): unblock = stanza.getTag('unblock', namespace=Namespace.BLOCKING) if unblock is not None: properties.blocking = _parse_push(unblock) - return
block = stanza.getTag('block', namespace=Namespace.BLOCKING) if block is not None:
===================================== nbxmpp/structs.py ===================================== @@ -146,7 +146,7 @@ class HTTPAuthData(NamedTuple): body: Optional[str]
-class StanzaIDData: +class StanzaIDData(NamedTuple): id: str by: str
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/compare/54273c9eb392210d753041d0...