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

be sure to get groupchat_control in MSGERR handler.

parent 725325eb
No related branches found
No related tags found
No related merge requests found
......@@ -629,6 +629,8 @@ class Interface:
jids = full_jid_with_resource.split('/', 1)
jid = jids[0]
gc_control = self.msg_win_mgr.get_control(jid, account)
if gc_control.type_id != message_control.TYPE_GC:
gc_control = None
if gc_control:
if len(jids) > 1: # it's a pm
nick = jids[1]
......
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