diff options
Diffstat (limited to 'src/windows.py')
-rw-r--r-- | src/windows.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/windows.py b/src/windows.py index 65796e5d..28748a73 100644 --- a/src/windows.py +++ b/src/windows.py @@ -217,7 +217,8 @@ class PrivateInfoWin(InfoWin): self._refresh() def write_room_name(self, room): - (room_name, nick) = room.name.split('/', 1) + jid = JID(room.name) + room_name, nick = jid.bare, jid.resource self.addstr(nick, curses.color_pair(13)) txt = ' from room %s' % room_name self.addstr(txt, curses.color_pair(theme.COLOR_INFORMATION_BAR)) |