summaryrefslogtreecommitdiff
path: root/src/tabs.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-11-24 13:36:54 +0100
committermathieui <mathieui@mathieui.net>2011-11-24 13:36:54 +0100
commitc48e9ff58280880e113c390e3dcfda1a59da4bf3 (patch)
treec242bf709e367c4c3e871a9524ddde08c2bf080b /src/tabs.py
parent0206920a10a279ee87baf3b0e51e62d9b0128b8a (diff)
downloadpoezio-c48e9ff58280880e113c390e3dcfda1a59da4bf3.tar.gz
poezio-c48e9ff58280880e113c390e3dcfda1a59da4bf3.tar.bz2
poezio-c48e9ff58280880e113c390e3dcfda1a59da4bf3.tar.xz
poezio-c48e9ff58280880e113c390e3dcfda1a59da4bf3.zip
Fixes #2299
Diffstat (limited to 'src/tabs.py')
-rw-r--r--src/tabs.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py
index b0185b27..70298ec8 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -709,7 +709,10 @@ class MucTab(ChatTab):
if self.joined:
self.disconnect()
muc.leave_groupchat(self.core.xmpp, self.name, self.own_nick, arg)
- self.add_message(_("\x195}You left the chatroom\x193}"))
+ if arg:
+ self.add_message(_("\x195}You left the chatroom (\x19o%s\x195})\x193}" % arg))
+ else:
+ self.add_message(_("\x195}You left the chatroom\x193}"))
if self == self.core.current_tab():
self.refresh()
self.core.doupdate()