Skip to content
Snippets Groups Projects
Commit 00a696c0 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

prevent bug when forming a jid. Fixes #7428

parent af38bd57
No related branches found
No related tags found
No related merge requests found
......@@ -83,9 +83,7 @@ class StanzaSession(object):
def get_to(self):
to = str(self.jid)
if self.resource and not to.endswith(self.resource):
to += '/' + self.resource
return to
return gajim.get_jid_without_resource(to) + self.resource
def remove_events(self, types):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment