summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2021-11-30 14:49:58 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2021-12-08 18:30:52 +0000
commitb399104827556313bd7a2db3157199c3c8a5a24d (patch)
treea1b2cf72108fcf7324e7b764d673b7d77e79fe50
parentwip: get device lists working squashme (diff)
downloadsynapse-b399104827556313bd7a2db3157199c3c8a5a24d.tar.xz
Add device_list as one of the supported streams set_type
-rw-r--r--synapse/storage/databases/main/appservice.py2
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,)