summaryrefslogtreecommitdiff
path: root/src/tabs.py
diff options
context:
space:
mode:
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()