0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-30 00:18:22 +02:00

Opentracing context cannot be none

This commit is contained in:
Jorik Schellekens 2019-09-05 15:06:13 +01:00
parent 93bc9d73bf
commit 5ade977d08

View file

@ -856,7 +856,7 @@ class DeviceStore(DeviceWorkerStore, BackgroundUpdateStore):
"ts": now,
"opentracing_context": json.dumps(context)
if whitelisted_homeserver(destination)
else None,
else "{}",
}
for destination in hosts
for device_id in device_ids