mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-17 21:33:50 +01:00
Apply suggestions from code review
Co-Authored-By: anoadragon453 <1342360+anoadragon453@users.noreply.github.com>
This commit is contained in:
parent
8ea509a935
commit
03c85335d1
2 changed files with 2 additions and 2 deletions
|
@ -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 = []
|
||||
|
|
|
@ -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, ""))
|
||||
|
|
Loading…
Reference in a new issue