Commit 67f20eb8 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

[triggers] Fix asdict() call

parent 10dd63ab
Pipeline #8967 canceled with stage
......@@ -74,14 +74,14 @@ class Triggers(GajimPlugin):
def _on_notification(self, event: Notification):
extended_event = ExtendedEvent(**asdict(asdict), origin=event)
extended_event = ExtendedEvent(**asdict(event), origin=event)
self._check_all(extended_event,
self._check_rule_apply_notification,
self._apply_rule)
return self._excecute(extended_event)
def _on_message_received(self, event):
event = ExtendedEvent(**asdict(asdict), origin=event)
event = ExtendedEvent(**asdict(event), origin=event)
self._check_all(event,
self._check_rule_apply_msg_received,
self._apply_rule)
......
Supports Markdown
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