Skip to content
Snippets Groups Projects
Unverified Commit de1f8de3 authored by Patrick Cloke's avatar Patrick Cloke Committed by GitHub
Browse files

Ensure the user ID is serialized in the payload instead of used as an instance name. (#9130)

parent 883d4e6f
No related branches found
No related tags found
No related merge requests found
Add experimental support for handling and persistence of to-device messages to happen on worker processes.
...@@ -163,7 +163,7 @@ class DeviceMessageHandler: ...@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment