diff options
author | Nick Barrett <nick@beeper.com> | 2021-11-03 14:25:47 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-03 14:25:47 +0000 |
commit | af54167516c7211937efa5b800853f3088ef5178 (patch) | |
tree | 6b6cc1144f713b35f42ad776c4bb265948a5d2c1 /synapse/rest/client | |
parent | Remove a debug statement from tests. (#11239) (diff) | |
download | synapse-af54167516c7211937efa5b800853f3088ef5178.tar.xz |
Enable passing typing stream writers as a list. (#11237)
This makes the typing stream writer config match the other stream writers that only currently support a single worker.
Diffstat (limited to '')
-rw-r--r-- | synapse/rest/client/room.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/room.py b/synapse/rest/client/room.py index ed95189b6d..6a876cfa2f 100644 --- a/synapse/rest/client/room.py +++ b/synapse/rest/client/room.py @@ -914,7 +914,7 @@ class RoomTypingRestServlet(RestServlet): # If we're not on the typing writer instance we should scream if we get # requests. self._is_typing_writer = ( - hs.config.worker.writers.typing == hs.get_instance_name() + hs.get_instance_name() in hs.config.worker.writers.typing ) async def on_PUT( |