From e9f6909820eaac6355a8bc82517c6c259ccc4644 Mon Sep 17 00:00:00 2001
From: Denis Fomin <fominde@gmail.com>
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 722e7e01ed..f8ccb503a5 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):
         """
-- 
GitLab