diff options
author | lovetox <philipp@hoerist.com> | 2020-03-28 14:26:04 +0300 |
---|---|---|
committer | lovetox <philipp@hoerist.com> | 2020-03-28 20:06:51 +0300 |
commit | 5e6bb0f975db3f186f5606b2f7cdb7e2727c5d2d (patch) | |
tree | c08750e47db5202a17b8f4e00b024b50d7e0bf1b | |
parent | 038bb40850b09b4488fa032b8eee8647acab4255 (diff) |
MAM: Parse complete attribute correctly
-rw-r--r-- | nbxmpp/modules/mam.py | 2 |
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, |