diff options
author | Shay <hillerys@element.io> | 2023-03-21 17:59:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-21 17:59:55 -0700 |
commit | 72f3f23c4db3f549a1aa060a7e98ba07812e570b (patch) | |
tree | 38a460e811a7db23fe9158cf8d91a6e9eb71fa03 /synapse/federation/sender | |
parent | Bump sentry-sdk from 1.15.0 to 1.17.0 (#15285) (diff) | |
download | synapse-72f3f23c4db3f549a1aa060a7e98ba07812e570b.tar.xz |
Change the parameter `immediate` of `send_device_messages` to default to `True` (#15297)
Diffstat (limited to 'synapse/federation/sender')
-rw-r--r-- | synapse/federation/sender/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/sender/__init__.py b/synapse/federation/sender/__init__.py index 43421a9c72..106daa9184 100644 --- a/synapse/federation/sender/__init__.py +++ b/synapse/federation/sender/__init__.py @@ -783,7 +783,7 @@ class FederationSender(AbstractFederationSender): else: queue.send_edu(edu) - def send_device_messages(self, destination: str, immediate: bool = False) -> None: + def send_device_messages(self, destination: str, immediate: bool = True) -> None: if destination == self.server_name: logger.warning("Not sending device update to ourselves") return |