Fix optional parameter in stripped state storage method (#8688)

Missed in #8671.
erikj/release_script
Andrew Morgan 2020-10-30 00:22:31 +00:00 committed by GitHub
parent ef2d627015
commit 4504151546
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/8688.misc Normal file
View File

@ -0,0 +1 @@
Abstract some invite-related code in preparation for landing knocking.

View File

@ -530,7 +530,7 @@ class EventsWorkerStore(SQLBaseStore):
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