Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2008-12-12 20:51:22 +0300
committerYann Leboulanger <asterix@lagaule.org>2008-12-12 20:51:22 +0300
commit8d18e48af49775b5a30bd328d488859fc450afef (patch)
tree8b0963f1c29a58a2163ce4b367e6c695a7cb596d
parent5f6c7d858fafbbc760dcd22077a6db805c7c4783 (diff)
fix finding room jids in database. Fixes #4576, #4578
-rw-r--r--src/common/logger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/logger.py b/src/common/logger.py
index 943b42777..1241f5553 100644
--- a/src/common/logger.py
+++ b/src/common/logger.py
@@ -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