From 9ff35f9acd823b1d47284fa9aa7a310347f00ff9 Mon Sep 17 00:00:00 2001 From: John Smith Date: Sun, 10 Jan 2016 17:36:15 +0600 Subject: 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 --- modules/mod_iq_register.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'modules/mod_iq_register.py') 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")]) -- cgit v1.2.3