mirror of
https://github.com/element-hq/synapse
synced 2024-10-06 13:32:40 +00:00
Exclude application services
See https://github.com/element-hq/synapse/pull/17167#discussion_r1595924522
This commit is contained in:
parent
3539abe0aa
commit
5f194f9b3d
1 changed files with 5 additions and 3 deletions
|
@ -1847,9 +1847,11 @@ class SyncHandler:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
user_id = sync_config.user.to_string()
|
user_id = sync_config.user.to_string()
|
||||||
# TODO: Should we exclude app services here? There could be an argument to allow
|
app_service = self.store.get_app_service_by_user_id(user_id)
|
||||||
# them since the appservice doesn't have to make a massive initial sync.
|
if app_service:
|
||||||
# (related to https://github.com/matrix-org/matrix-doc/issues/1144)
|
# We no longer support AS users using /sync directly.
|
||||||
|
# See https://github.com/matrix-org/matrix-doc/issues/1144
|
||||||
|
raise NotImplementedError()
|
||||||
|
|
||||||
sync_result_builder = await self.get_sync_result_builder(
|
sync_result_builder = await self.get_sync_result_builder(
|
||||||
sync_config,
|
sync_config,
|
||||||
|
|
Loading…
Reference in a new issue