forked-synapse/synapse/federation
Richard van der Hoff b5322b4daf
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.
2024-03-22 13:24:11 +00:00
..
sender Ensure that pending to-device events are sent over federation at startup (#16925) 2024-03-22 13:24:11 +00:00
transport Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
__init__.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
federation_base.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
federation_client.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
federation_server.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
persistence.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
send_queue.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
units.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00