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

fix finding room jids in database. Fixes #4576, #4578

parent 5f6c7d85
No related branches found
No related tags found
No related merge requests found
......@@ -178,7 +178,7 @@ class Logger:
and after that all okay'''
if jid.find('/') > -1:
possible_room_jid = jid.split('/', 1)[1]
possible_room_jid = jid.split('/', 1)[0]
return self.jid_is_room_jid(possible_room_jid)
else:
# it's not a full jid, so it's not a pm one
......
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