Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Remove unused columns from membership DB fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizzadar committed Aug 21, 2022
1 parent 8e98dbc commit 94e4842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/storage/databases/main/roommember.py
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ async def _get_user_ids_from_membership_event_ids(
table="room_memberships",
column="event_id",
iterable=event_ids,
retcols=("user_id", "display_name", "avatar_url", "event_id"),
retcols=("user_id", "event_id"),
keyvalues={"membership": Membership.JOIN},
batch_size=1000,
desc="_get_user_ids_from_membership_event_ids",
Expand Down

0 comments on commit 94e4842

Please sign in to comment.