From af681cc5ba1b129699887a1a3ec872d32bfdbb9c Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Tue, 9 Oct 2007 19:52:09 +0000 Subject: [PATCH] ignore resource when we get a subscription request --- src/common/connection_handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py index a95ac1d29..ce795939a 100644 --- a/src/common/connection_handlers.py +++ b/src/common/connection_handlers.py @@ -1945,7 +1945,7 @@ returns the session that we last sent a message to.''' else: if not status: status = _('I would like to add you to my roster.') - self.dispatch('SUBSCRIBE', (who, status, user_nick)) + self.dispatch('SUBSCRIBE', (jid_stripped, status, user_nick)) elif ptype == 'subscribed': if jid_stripped in self.automatically_added: self.automatically_added.remove(jid_stripped)