Commit c1687d75 authored by Philipp Hörist's avatar Philipp Hörist

MUC: Ignore captcha challenges received via MAM

parent cb97b189
Pipeline #3996 passed with stages
in 2 minutes and 24 seconds
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment