Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits: c72b4fbd by Philipp Hörist at 2019-08-28T21:05:21Z CommonError: Add support for condition data
This is used for example to advertise a new MUC after destruction
<gone>xmpp:new@chat.example.org?join</gone>
- - - - -
1 changed file:
- nbxmpp/structs.py
Changes:
===================================== nbxmpp/structs.py ===================================== @@ -361,6 +361,7 @@ class CommonError: def __init__(self, stanza): self._error_node = stanza.getTag('error') self.condition = stanza.getError() + self.condition_data = self._error_node.getTagData(self.condition) self.app_condition = stanza.getAppError() self.type = stanza.getErrorType() self.jid = stanza.getFrom()
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/commit/c72b4fbdbda1a8f954ad9c28656...