mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-07 07:12:13 -04:00
pep8 & unused variable
This commit is contained in:
parent
140a50f641
commit
9b4cd0cd0f
3 changed files with 3 additions and 4 deletions
|
@ -54,7 +54,7 @@ def evaluator_for_room_id(room_id, hs, store):
|
|||
display_names[ev.state_key] = ev.content.get("displayname")
|
||||
|
||||
defer.returnValue(BulkPushRuleEvaluator(
|
||||
room_id, rules_by_user, display_names, users
|
||||
room_id, rules_by_user, display_names, users
|
||||
))
|
||||
|
||||
|
||||
|
@ -104,4 +104,4 @@ class BulkPushRuleEvaluator:
|
|||
matches &= PushRuleEvaluator._event_fulfills_condition(
|
||||
event, cond, display_name, room_member_count, profile_tag
|
||||
)
|
||||
return matches
|
||||
return matches
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue