Philipp Hörist pushed to branch master at gajim / gajim
Commits:
c1687d75 by Philipp Hörist at 2019-08-05T12:36:45Z
MUC: Ignore captcha challenges received via MAM
- - - - -
1 changed file:
- gajim/common/modules/muc.py
Changes:
=====================================
gajim/common/modules/muc.py
=====================================
@@ -602,6 +602,11 @@ class MUC(BaseModule):
if not properties.is_captcha_challenge:
return
+ if properties.is_mam_message:
+ # Some servers store captcha challenges in MAM, dont process them
+ self._log.warning('Ignore captcha challenge received from MAM')
+ raise nbxmpp.NodeProcessed
+
muc_data = self._muc_data.get(properties.jid)
if muc_data is None:
return
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/c1687d75aa8d212319b693175f2046b60707a1e5
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/c1687d75aa8d212319b693175f2046b60707a1e5
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits