Ensure the user ID is serialized in the payload instead of used as an instance name. (#9130)
parent
883d4e6f2b
commit
de1f8de319
|
@ -0,0 +1 @@
|
||||||
|
Add experimental support for handling and persistence of to-device messages to happen on worker processes.
|
|
@ -163,7 +163,7 @@ class DeviceMessageHandler:
|
||||||
await self.store.mark_remote_user_device_cache_as_stale(sender_user_id)
|
await self.store.mark_remote_user_device_cache_as_stale(sender_user_id)
|
||||||
|
|
||||||
# Immediately attempt a resync in the background
|
# Immediately attempt a resync in the background
|
||||||
run_in_background(self._user_device_resync, sender_user_id)
|
run_in_background(self._user_device_resync, user_id=sender_user_id)
|
||||||
|
|
||||||
async def send_device_message(
|
async def send_device_message(
|
||||||
self,
|
self,
|
||||||
|
|
Loading…
Reference in New Issue