mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 14:04:55 -04:00
Rename various ApplicationServices interested methods (#11915)
This commit is contained in:
parent
9297d040a7
commit
fb0ffa9676
8 changed files with 175 additions and 76 deletions
|
@ -571,7 +571,7 @@ class ApplicationServicesHandler:
|
|||
room_alias_str = room_alias.to_string()
|
||||
services = self.store.get_app_services()
|
||||
alias_query_services = [
|
||||
s for s in services if (s.is_interested_in_alias(room_alias_str))
|
||||
s for s in services if (s.is_room_alias_in_namespace(room_alias_str))
|
||||
]
|
||||
for alias_service in alias_query_services:
|
||||
is_known_alias = await self.appservice_api.query_alias(
|
||||
|
@ -660,7 +660,7 @@ class ApplicationServicesHandler:
|
|||
# inside of a list comprehension anymore.
|
||||
interested_list = []
|
||||
for s in services:
|
||||
if await s.is_interested(event, self.store):
|
||||
if await s.is_interested_in_event(event.event_id, event, self.store):
|
||||
interested_list.append(s)
|
||||
|
||||
return interested_list
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue