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

nickname can contain '/'

parent 98c8af1d
No related branches found
No related tags found
No related merge requests found
......@@ -376,7 +376,7 @@ class Interface:
def handle_event_msgerror(self, account, array):
#('MSGERROR', account, (jid, error_code, error_msg, msg, time))
fjid = array[0]
jids = fjid.split('/')
jids = fjid.split('/', 1)
jid = jids[0]
gcs = self.windows[account]['gc']
if jid in gcs:
......@@ -530,7 +530,7 @@ class Interface:
def handle_event_gc_msg(self, account, array):
#('GC_MSG', account, (jid, msg, time))
jids = array[0].split('/')
jids = array[0].split('/', 1)
jid = jids[0]
if not self.windows[account]['gc'].has_key(jid):
return
......@@ -545,7 +545,7 @@ class Interface:
def handle_event_gc_subject(self, account, array):
#('GC_SUBJECT', account, (jid, subject))
jids = array[0].split('/')
jids = array[0].split('/', 1)
jid = jids[0]
if not self.windows[account]['gc'].has_key(jid):
return
......
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