Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
589c0417 by Philipp Hörist at 2019-09-22T15:42:57Z
MUC: Recognize server shutdown as room kick
- - - - -
1 changed file:
- nbxmpp/structs.py
Changes:
=====================================
nbxmpp/structs.py
=====================================
@@ -659,6 +659,7 @@ class PresenceProperties:
StatusCode.REMOVED_KICKED,
StatusCode.REMOVED_AFFILIATION_CHANGE,
StatusCode.REMOVED_NONMEMBER_IN_MEMBERS_ONLY,
+ StatusCode.REMOVED_SERVICE_SHUTDOWN,
StatusCode.REMOVED_ERROR
}
return (self.from_muc and
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/commit/589c0417455010c0ba1a41aae2…
--
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/commit/589c0417455010c0ba1a41aae2…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
67a5562d by Philipp Hörist at 2019-09-22T09:21:58Z
AdHoc: Dont report empty command list as stanza-malformed
- - - - -
1 changed file:
- nbxmpp/modules/adhoc.py
Changes:
=====================================
nbxmpp/modules/adhoc.py
=====================================
@@ -54,7 +54,7 @@ class AdHoc:
return raise_error(log.info, stanza)
payload = stanza.getQueryPayload()
- if not payload:
+ if payload is None:
return raise_error(log.warning, stanza, 'stanza-malformed')
command_list = []
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/commit/67a5562db9d3d335aa21eab56d…
--
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/commit/67a5562db9d3d335aa21eab56d…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
dcbd5f9c by Philipp Hörist at 2019-09-22T08:31:49Z
Remove unused import
- - - - -
1 changed file:
- gajim/common/helpers.py
Changes:
=====================================
gajim/common/helpers.py
=====================================
@@ -59,7 +59,6 @@ import nbxmpp
from nbxmpp.util import compute_caps_hash
from nbxmpp.stringprepare import nameprep
from nbxmpp.structs import DiscoInfo
-from nbxmpp.const import Affiliation
from nbxmpp.const import Role
from nbxmpp.protocol import JID
from nbxmpp.protocol import InvalidJid
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/dcbd5f9c4d99ef5c85cd4be9e47ac87806…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/dcbd5f9c4d99ef5c85cd4be9e47ac87806…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
fedc80c9 by Yann Leboulanger at 2019-09-17T13:26:38Z
make BOSH work when more than 16384 bytes need to be sent
- - - - -
1 changed file:
- nbxmpp/transports.py
Changes:
=====================================
nbxmpp/transports.py
=====================================
@@ -571,7 +571,7 @@ class NonBlockingTCP(NonBlockingTransport, IdleObject):
if send_count:
sent_data = self.sendbuff[:send_count]
self.sendbuff = self.sendbuff[send_count:]
- self._plug_idle(writable=(self.sendqueue != []), readable=True)
+ self._plug_idle(writable=((self.sendqueue != []) or (len(self.sendbuff) != 0)), readable=True)
if self.sent_bytes_buff:
sent_data = self.sent_bytes_buff + sent_data
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/commit/fedc80c99b021f0e59db0cca80…
--
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/commit/fedc80c99b021f0e59db0cca80…
You're receiving this email because of your account on dev.gajim.org.