From 44a74d8c23d41acc7a8831b90350bdee16cfeae9 Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Thu, 15 Aug 2013 14:38:59 +0400 Subject: [PATCH] prevent bug when forming a jid --- src/common/stanza_session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/stanza_session.py b/src/common/stanza_session.py index 722e7e01e..f8ccb503a 100644 --- a/src/common/stanza_session.py +++ b/src/common/stanza_session.py @@ -83,7 +83,7 @@ class StanzaSession(object): def get_to(self): to = str(self.jid) - return gajim.get_jid_without_resource(to) + self.resource + return gajim.get_jid_without_resource(to) + '/' + self.resource def remove_events(self, types): """