Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge branch 'anoa/full_search_upgraded_rooms' of github.com:matrix-o…
Browse files Browse the repository at this point in the history
…rg/synapse into anoa/full_search_upgraded_rooms
  • Loading branch information
anoadragon453 committed Jan 24, 2019
2 parents e1781b0 + 03c8533 commit a383289
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion synapse/api/filtering.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ def with_room_ids(self, room_ids):
"""Returns a new filter with the given room IDs appended.
Args:
room_ids (list): A list of room_ids.
room_ids (iterable[unicode]): The room_ids to add
Returns:
filter: A new filter including the given rooms and the old
Expand Down
2 changes: 1 addition & 1 deletion synapse/handlers/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def get_old_rooms_from_upgraded_room(self, room_id):
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 = []
Expand Down
2 changes: 1 addition & 1 deletion synapse/storage/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ def get_room_predecessor(self, room_id):
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, ""))
Expand Down

0 comments on commit a383289

Please sign in to comment.