mirror of
https://mau.dev/maunium/synapse.git
synced 2025-01-05 23:54:05 +01:00
pep8 & unused variable
This commit is contained in:
parent
140a50f641
commit
9b4cd0cd0f
3 changed files with 3 additions and 4 deletions
|
@ -26,6 +26,7 @@ import random
|
|||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
# Pushers could now be moved to pull out of the event_actions table instead
|
||||
# of listening on the event stream: this would avoid them having to run the
|
||||
# rules again.
|
||||
|
|
|
@ -35,8 +35,6 @@ class ActionGenerator:
|
|||
|
||||
@defer.inlineCallbacks
|
||||
def handle_event(self, event):
|
||||
users = yield self.store.get_users_in_room(event['room_id'])
|
||||
|
||||
bulk_evaluator = yield bulk_push_rule_evaluator.evaluator_for_room_id(
|
||||
event['room_id'], self.hs, self.store
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue