async def delete_appservice_association(self, service: ApplicationService, room_alias: RoomAlias) -> None: if not service.is_interested_in_alias(room_alias.to_string()): raise SynapseError( 400, "This application service has not reserved this kind of alias", errcode=Codes.EXCLUSIVE, ) await self._delete_association(room_alias)