Commit f8d76392 authored by Philipp Hörist's avatar Philipp Hörist

MAM: Remove conn attribute from mam-decrypted-message-received event

parent 2ea0125a
......@@ -786,10 +786,8 @@ class ChatControl(ChatControlBase):
fixed.set_no_show_all(True)
self.close_jingle_content(jingle_type)
@event_filter(['account'])
def _nec_mam_decrypted_message_received(self, obj):
if obj.conn.name != self.account:
return
if obj.properties.type.is_groupchat:
return
......
......@@ -241,7 +241,6 @@ class MAM(BaseModule):
app.nec.push_incoming_event(
NetworkEvent('mam-decrypted-message-received',
conn=self._con,
account=self._account,
additional_data=additional_data,
stanza_id=stanza_id,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment