diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2021-11-30 14:49:58 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2021-12-08 18:30:52 +0000 |
commit | b399104827556313bd7a2db3157199c3c8a5a24d (patch) | |
tree | a1b2cf72108fcf7324e7b764d673b7d77e79fe50 | |
parent | wip: get device lists working squashme (diff) | |
download | synapse-b399104827556313bd7a2db3157199c3c8a5a24d.tar.xz |
Add device_list as one of the supported streams set_type
-rw-r--r-- | synapse/storage/databases/main/appservice.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/databases/main/appservice.py b/synapse/storage/databases/main/appservice.py index 108e919564..e0ca460c13 100644 --- a/synapse/storage/databases/main/appservice.py +++ b/synapse/storage/databases/main/appservice.py @@ -397,7 +397,7 @@ class ApplicationServiceTransactionWorkerStore( async def get_type_stream_id_for_appservice( self, service: ApplicationService, type: str ) -> int: - if type not in ("read_receipt", "presence", "to_device"): + if type not in ("read_receipt", "presence", "to_device", "device_list"): raise ValueError( "Expected type to be a valid application stream id type, got %s" % (type,) |