diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2024-03-22 13:24:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-22 13:24:11 +0000 |
commit | b5322b4daf2e13310200e57eb427568cb6a92ddf (patch) | |
tree | 8a8aed36f136df07d0fea011581bc4cadba821af /changelog.d | |
parent | Add OIDC config to add extra parameters to the authorize URL (#16971) (diff) | |
download | synapse-b5322b4daf2e13310200e57eb427568cb6a92ddf.tar.xz |
Ensure that pending to-device events are sent over federation at startup (#16925)
Fixes https://github.com/element-hq/synapse/issues/16680, as well as a related bug, where servers which we had *never* successfully sent an event to would not be retried. In order to fix the case of pending to-device messages, we hook into the existing `wake_destinations_needing_catchup` process, by extending it to look for destinations that have pending to-device messages. The federation transmission loop then attempts to send the pending to-device messages as normal.
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/16925.bugfix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/16925.bugfix b/changelog.d/16925.bugfix new file mode 100644 index 0000000000..781cad4b5b --- /dev/null +++ b/changelog.d/16925.bugfix @@ -0,0 +1 @@ +Fix a bug which meant that, under certain circumstances, we might never retry sending events or to-device messages over federation after a failure. |