diff options
Diffstat (limited to 'synapse/storage/devices.py')
-rw-r--r-- | synapse/storage/devices.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/devices.py b/synapse/storage/devices.py index c81b3b8fc8..671b80624b 100644 --- a/synapse/storage/devices.py +++ b/synapse/storage/devices.py @@ -222,7 +222,7 @@ class DeviceWorkerStore(SQLBaseStore): "stream_id": stream_id, "context": query_map[(user_id, device_id)][1] if opentracing.whitelisted_homeserver(destination) - else "", + else "{}", } prev_id = stream_id @@ -841,7 +841,7 @@ class DeviceStore(DeviceWorkerStore, BackgroundUpdateStore): "ts": now, "context": json.dumps(context) if opentracing.whitelisted_homeserver(destination) - else "", + else "{}", } for destination in hosts for device_id in device_ids |