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

Commit

Permalink
Replace TODO with issue #11152
Browse files Browse the repository at this point in the history
  • Loading branch information
anoadragon453 committed Oct 21, 2021
1 parent 4623514 commit 768382e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions synapse/handlers/receipts.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,10 +267,6 @@ async def get_new_events_as(
)

# Then filter down to rooms that the AS can read
# TODO: This doesn't honour an appservice's registration of room or namespace
# aliases. For instance, if an appservice registered a room namespace that
# matched this room, but it didn't have any members in the room, then that
# appservice wouldn't receive the read receipt.
events = []
for room_id, event in rooms_to_events.items():
if not await service.matches_user_in_member_list(room_id, self.store):
Expand Down
4 changes: 0 additions & 4 deletions synapse/handlers/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,10 +482,6 @@ async def get_new_events_as(
if handler._room_serials[room_id] <= from_key:
continue

# TODO: This doesn't to honour an appservice's registration of room or namespace
# aliases. For instance, if an appservice registered a room namespace that
# matched this room, but it didn't have any members in the room, then that
# appservice wouldn't receive the typing event.
if not await service.matches_user_in_member_list(
room_id, handler.store
):
Expand Down

0 comments on commit 768382e

Please sign in to comment.