Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlovetox <philipp@hoerist.com>2020-03-28 14:26:04 +0300
committerlovetox <philipp@hoerist.com>2020-03-28 20:06:51 +0300
commit5e6bb0f975db3f186f5606b2f7cdb7e2727c5d2d (patch)
treec08750e47db5202a17b8f4e00b024b50d7e0bf1b
parent038bb40850b09b4488fa032b8eee8647acab4255 (diff)
MAM: Parse complete attribute correctly
-rw-r--r--nbxmpp/modules/mam.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nbxmpp/modules/mam.py b/nbxmpp/modules/mam.py
index 3092991..0dd7528 100644
--- a/nbxmpp/modules/mam.py
+++ b/nbxmpp/modules/mam.py
@@ -118,7 +118,7 @@ class MAM(BaseModule):
'stanza-malformed',
'rsm set missing')
- complete = bool(fin.getAttr('complete'))
+ complete = fin.getAttr('complete') == 'true'
return MAMQueryData(jid=jid,
complete=complete,