mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 08:46:04 -04:00
Rename event-actions to event_push_actions as per PR request
This commit is contained in:
parent
928c575c6f
commit
c914d67cda
6 changed files with 17 additions and 17 deletions
|
@ -27,7 +27,7 @@ import random
|
|||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
# Pushers could now be moved to pull out of the event_actions table instead
|
||||
# Pushers could now be moved to pull out of the event_push_actions table instead
|
||||
# of listening on the event stream: this would avoid them having to run the
|
||||
# rules again.
|
||||
class Pusher(object):
|
||||
|
|
|
@ -40,7 +40,7 @@ class ActionGenerator:
|
|||
|
||||
actions_by_user = bulk_evaluator.action_for_event_by_user(event)
|
||||
|
||||
yield self.store.set_actions_for_event_and_users(
|
||||
yield self.store.set_push_actions_for_event_and_users(
|
||||
event,
|
||||
[
|
||||
(uid, None, actions) for uid, actions in actions_by_user.items()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue