mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Ensure the user ID is serialized in the payload instead of used as an instance name. (#9130)
This commit is contained in:
parent
883d4e6f2b
commit
de1f8de319
1
changelog.d/9130.feature
Normal file
1
changelog.d/9130.feature
Normal file
@ -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
Block a user