0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-17 11:03:58 +01:00

Apply suggestions from code review

Co-Authored-By: anoadragon453 <1342360+anoadragon453@users.noreply.github.com>
This commit is contained in:
Richard van der Hoff 2019-01-24 17:22:09 +00:00 committed by GitHub
parent 8ea509a935
commit 03c85335d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -52,7 +52,7 @@ class SearchHandler(BaseHandler):
room_id (str): id of the room to search through.
Returns:
Deferred[iterable[str]]: predecessor room ids
Deferred[iterable[unicode]]: predecessor room ids
"""
historical_room_ids = []

View file

@ -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, ""))