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

MUC: Add callback for send_captcha()

parent de372729
......@@ -488,11 +488,12 @@ class MUC:
muc_user.setTagData('password', password)
return message
def send_captcha(self, room_jid, form_node):
iq = Iq(typ='set', to=room_jid)
captcha = iq.addChild(name='captcha', namespace=NS_CAPTCHA)
return iq
def _default_response(self, stanza):
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