From 751ae44b7c3de4b9460d06d78d20e2f2ec54e0eb Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 20 Jun 2005 07:50:50 +0000 Subject: [PATCH] little bugfix: missing arg to NOTIFY event --- src/common/connection.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/common/connection.py b/src/common/connection.py index ac06658a6..d4ce941a1 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -299,9 +299,10 @@ class Connection: self.dispatch('ERROR', (errmsg, '')) elif errcode == '502': # Internal Timeout: self.dispatch('NOTIFY', (prs.getFrom().getStripped().encode('utf8'), - 'error', errmsg, prs.getFrom().getResource().encode('utf8'), prio, keyID, - prs.getRole(), prs.getAffiliation(), prs.getJid(), - prs.getReason(), prs.getActor(), prs.getStatusCode())) + 'error', errmsg, prs.getFrom().getResource().encode('utf8'), + prio, keyID, prs.getRole(), prs.getAffiliation(), prs.getJid(), + prs.getReason(), prs.getActor(), prs.getStatusCode(), + prs.getNewNick())) else: self.dispatch('ERROR_ANSWER', (prs.getFrom().getStripped(), errmsg, errcode))