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 /tests/utils.py | |
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 'tests/utils.py')
0 files changed, 0 insertions, 0 deletions