diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2021-02-08 14:45:39 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2021-02-08 14:46:52 +0000 |
commit | c7b823525e9598ee4de76099d9ca5ea1ce3977f4 (patch) | |
tree | 19bd353f76326319608be35a6aa64b5442a41d7c | |
parent | Clarify documentation about escaping URLs in templates. (#9310) (diff) | |
download | synapse-github/anoa/test_to_device.tar.xz |
Some logging for locally send to_device github/anoa/test_to_device anoa/test_to_device
-rw-r--r-- | synapse/storage/databases/main/deviceinbox.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/storage/databases/main/deviceinbox.py b/synapse/storage/databases/main/deviceinbox.py index 31f70ac5ef..a786aeff86 100644 --- a/synapse/storage/databases/main/deviceinbox.py +++ b/synapse/storage/databases/main/deviceinbox.py @@ -474,6 +474,10 @@ class DeviceInboxWorkerStore(SQLBaseStore): ): assert self._can_write_to_device + logger.info("STORING TODEVICE MESSAGE STREAM ID %s: %s", + stream_id, + messages_by_user_then_device) + local_by_user_then_device = {} for user_id, messages_by_device in messages_by_user_then_device.items(): messages_json_for_user = {} |