Skip to content

chart/4.37.2

@lepsa lepsa tagged this 16 Aug 13:33
* WPB-3611: Notifying remote domains about defederation.

During defederation, remaining federation members will now be notified
about the defederation by a new notification type
"federation.connectionRemoved" that carries the domains that were
involved in the defederation. This allows federation members to clean up
their conversations where users from both domains are present.
Additionally, this is sent out to all of their local clients so they can
also clean up. Normal notifications are suppressed for these operations,
similar to "federation.delete" handling.

Changes:
- Added a new federation event type.
- Added a new federation endpoint in galley. This route cleans up local
  conversations and notifies local clients of the defederation using the
  new event type.
- Updated background-worker to send notifications to federation members.
- Added tests for the new notifications, and that local conversations
  are cleaned up as expected.

---------

Co-authored-by: Leif Battermann <[email protected]>
Co-authored-by: Leif Battermann <[email protected]>
Assets 2
Loading