diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2019-01-24 17:22:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-24 17:22:09 +0000 |
commit | 03c85335d1d386c0523af3b6bf992f83bfb905d7 (patch) | |
tree | 4704e1967ded90ae94c37edc6d214108cb1deb20 /synapse/storage/state.py | |
parent | Update synapse/api/filtering.py (diff) | |
download | synapse-03c85335d1d386c0523af3b6bf992f83bfb905d7.tar.xz |
Apply suggestions from code review
Co-Authored-By: anoadragon453 <1342360+anoadragon453@users.noreply.github.com>
Diffstat (limited to '')
-rw-r--r-- | synapse/storage/state.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/state.py b/synapse/storage/state.py index fceb9744aa..0a0691cd00 100644 --- a/synapse/storage/state.py +++ b/synapse/storage/state.py @@ -446,7 +446,7 @@ class StateGroupWorkerStore(EventsWorkerStore, SQLBaseStore): room_id (str) Returns: - Deferred[str]: predecessor room id + Deferred[unicode|None]: predecessor room id """ state_ids = yield self.get_current_state_ids(room_id) create_id = state_ids.get((EventTypes.Create, "")) |