diff options
author | John Smith <mrdoctorwho@gmail.com> | 2016-01-10 14:36:15 +0300 |
---|---|---|
committer | John Smith <mrdoctorwho@gmail.com> | 2016-01-10 14:36:15 +0300 |
commit | 9ff35f9acd823b1d47284fa9aa7a310347f00ff9 (patch) | |
tree | 1956142b17fc7a8aff33ad7d0688591edcb78109 /modules/mod_iq_register.py | |
parent | 128782b7690530bc6a660595537a5f21f895c307 (diff) |
Update to support API v5.42
Fix not requesting subscription if user has no friends (#96)
Fix wrong message type detection
The xmpp monitor publisher is now an extension
Add colored API debug
LongPoll now uses https
Split groupchats extension into two modules + 1 extension
Fix #95
Diffstat (limited to 'modules/mod_iq_register.py')
-rw-r--r-- | modules/mod_iq_register.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/mod_iq_register.py b/modules/mod_iq_register.py index 873eefd..cec22c3 100644 --- a/modules/mod_iq_register.py +++ b/modules/mod_iq_register.py @@ -31,7 +31,6 @@ def initializeUser(user, cl, iq, kwargs): def register_handler(cl, iq): source = iq.getFrom().getStripped() destination = iq.getTo().getStripped() - iType = iq.getType() result = iq.buildReply("result") if USER_LIMIT: count = calcStats()[0] @@ -91,7 +90,6 @@ def register_handler(cl, iq): sender(cl, result) - def sendRegisterForm(cl, iq): logger.debug("Send registration form to user (jid: %s)", iq.getFrom().getStripped()) form = utils.buildDataForm(fields=forms.Forms.getComlicatedForm(), data=[_("Fill the fields below")]) |