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

Check that an appservice protocol has at least one service providing it #10532

Merged
merged 8 commits into from
Aug 5, 2021
4 changes: 1 addition & 3 deletions synapse/handlers/appservice.py
Original file line number Diff line number Diff line change
@@ -404,9 +404,7 @@ def _merge_instances(infos: List[JsonDict]) -> JsonDict:
return combined

return {
p: _merge_instances(protocols[p])
for p in protocols.keys()
if protocols[p]
p: _merge_instances(protocols[p]) for p in protocols.keys() if protocols[p]
}

async def _get_services_for_event(