print decline reason in groupchat

This commit is contained in:
Yann Leboulanger 2012-08-24 09:27:31 +02:00
parent 2540ba7493
commit f790007b06
1 changed files with 2 additions and 2 deletions

View File

@ -620,8 +620,8 @@ class Interface:
gc_control = self.msg_win_mgr.get_gc_control(obj.room_jid, account) gc_control = self.msg_win_mgr.get_gc_control(obj.room_jid, account)
if gc_control: if gc_control:
gc_control.print_conversation( gc_control.print_conversation(
_('%(jid)s declined the invitation') % {'jid': obj.room_jid}, _('%(jid)s declined the invitation: %(reason)s') % {
graphics=False) 'jid': obj.room_jid, 'reason': obj.reason}, graphics=False)
def handle_event_gc_invitation(self, obj): def handle_event_gc_invitation(self, obj):
#('GC_INVITATION', (room_jid, jid_from, reason, password, is_continued)) #('GC_INVITATION', (room_jid, jid_from, reason, password, is_continued))