summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2020-10-30 00:22:31 +0000
committerGitHub <noreply@github.com>2020-10-30 00:22:31 +0000
commit450415154649b2355a8a38b6abf8de973fc6428a (patch)
tree37bbbd83127fd35ed57589627faa1fd769aa740c /synapse
parentFix unit tests (#8689) (diff)
downloadsynapse-450415154649b2355a8a38b6abf8de973fc6428a.tar.xz
Fix optional parameter in stripped state storage method (#8688)
Missed in #8671.
Diffstat (limited to 'synapse')
-rw-r--r--synapse/storage/databases/main/events_worker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/databases/main/events_worker.py b/synapse/storage/databases/main/events_worker.py
index 5ae263827d..4732685f6e 100644
--- a/synapse/storage/databases/main/events_worker.py
+++ b/synapse/storage/databases/main/events_worker.py
@@ -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