From c48e9ff58280880e113c390e3dcfda1a59da4bf3 Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 24 Nov 2011 13:36:54 +0100 Subject: Fixes #2299 --- src/tabs.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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() -- cgit v1.2.3