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

Commit

Permalink
Fix optional parameter in stripped state storage method (#8688)
Browse files Browse the repository at this point in the history
Missed in #8671.
  • Loading branch information
anoadragon453 authored Oct 30, 2020
1 parent ef2d627 commit 4504151
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/8688.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Abstract some invite-related code in preparation for landing knocking.
2 changes: 1 addition & 1 deletion synapse/storage/databases/main/events_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ async def get_stripped_room_state_from_event_context(
self,
context: EventContext,
state_types_to_include: List[EventTypes],
membership_user_id: Optional[str],
membership_user_id: Optional[str] = None,
) -> List[JsonDict]:
"""
Retrieve the stripped state from a room, given an event context to retrieve state
Expand Down

0 comments on commit 4504151

Please sign in to comment.