stop requesting MAM archive when we get the complete='true' attribute. Fixes #8170
This commit is contained in:
parent
1e01ca81c6
commit
89f6efefde
|
@ -103,7 +103,9 @@ class ConnectionArchive313(ConnectionArchive):
|
||||||
last = set_.getTagData('last')
|
last = set_.getTagData('last')
|
||||||
if last:
|
if last:
|
||||||
gajim.config.set_per('accounts', self.name, 'last_mam_id', last)
|
gajim.config.set_per('accounts', self.name, 'last_mam_id', last)
|
||||||
self.request_archive(after=last)
|
complete = fin_.getAttr('complete')
|
||||||
|
if complete != 'true':
|
||||||
|
self.request_archive(after=last)
|
||||||
|
|
||||||
del self.awaiting_answers[queryid_]
|
del self.awaiting_answers[queryid_]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue