Skip to content
Snippets Groups Projects
Commit f790007b authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

print decline reason in groupchat

parent 2540ba74
No related branches found
No related tags found
No related merge requests found
...@@ -620,8 +620,8 @@ class Interface: ...@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment