mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:06:05 -04:00
Add is_guest flag to users db to track whether a user is a guest user or not. Use this so we can run _filter_events_for_client when calculating event_push_actions.
This commit is contained in:
parent
eb03625626
commit
c79f221192
9 changed files with 69 additions and 31 deletions
|
@ -32,8 +32,8 @@ class EventPushActionsStore(SQLBaseStore):
|
|||
values = []
|
||||
for uid, profile_tag, actions in tuples:
|
||||
values.append({
|
||||
'room_id': event['room_id'],
|
||||
'event_id': event['event_id'],
|
||||
'room_id': event.room_id,
|
||||
'event_id': event.event_id,
|
||||
'user_id': uid,
|
||||
'profile_tag': profile_tag,
|
||||
'actions': json.dumps(actions)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue