Philipp Hörist pushed to branch master at gajim / gajim
Commits:
7b638da6 by Philipp Hörist at 2024-05-01T11:24:14+02:00
new: MAM: Add more logging on errors
- - - - -
1 changed file:
- gajim/common/modules/mam.py
Changes:
=====================================
gajim/common/modules/mam.py
=====================================
@@ -298,6 +298,8 @@ def request_archive_on_signin(self):
self._log.warning(result)
return
+ self._log.warning(result)
+ self._log.warning('Reset archive state: %s', own_jid)
app.storage.archive.reset_mam_archive_state(
self._account, result.jid)
_, start_date = self._get_query_params()
@@ -355,6 +357,8 @@ def request_archive_on_muc_join(self, jid: JID):
contact.notify('mam-sync-error', result.get_text())
return
+ self._log.warning(result)
+ self._log.warning('Reset archive state: %s', jid)
app.storage.archive.reset_mam_archive_state(
self._account, result.jid)
_, start_date = self._get_muc_query_params(jid, threshold)
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/7b638da672179ef20ea1edb5fb182197e401aaa6
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/7b638da672179ef20ea1edb5fb182197e401aaa6
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]