Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gajim
gajim-plugins
Commits
67f20eb8
Commit
67f20eb8
authored
Jan 06, 2022
by
Philipp Hörist
Browse files
[triggers] Fix asdict() call
parent
10dd63ab
Pipeline
#8967
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
triggers/triggers.py
View file @
67f20eb8
...
...
@@ -74,14 +74,14 @@ class Triggers(GajimPlugin):
def
_on_notification
(
self
,
event
:
Notification
):
extended_event
=
ExtendedEvent
(
**
asdict
(
asdic
t
),
origin
=
event
)
extended_event
=
ExtendedEvent
(
**
asdict
(
even
t
),
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
(
asdic
t
),
origin
=
event
)
event
=
ExtendedEvent
(
**
asdict
(
even
t
),
origin
=
event
)
self
.
_check_all
(
event
,
self
.
_check_rule_apply_msg_received
,
self
.
_apply_rule
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment