mirror of
https://github.com/chatmail/core.git
synced 2026-08-18 06:36:29 +03:00
Alternative to https://github.com/chatmail/core/pull/8355/, fixes https://github.com/chatmail/core/issues/8329 This fixes the following bug: Scanning QR for existing contact doesn't update relay list Two chat partners suddenly lost connectivity to all of their relays. They added another relay, which is accessible, and set it as main. Of course, they still couldn't communicate, because there was no way to announce a new relay list to each other (clients know only about old relays so they try to send updates there). That's why the friends used a different channel (e.g. met IRL) to send their QR codes once again. Expected behavior: They would expect that clients update their relay lists according to the contact info inside the QR codes, and they can continue talking in Delta. Actual behavior: But Delta Chat client doesn't update a list of announced relays on scanning a QR in case a contact already exists. It simply opens the existing chat without altering any contact info. --------- Co-authored-by: holger krekel <holger@merlinux.eu>