Relay is not removed from Connections after deletion (Android 2.56)

Hi,

I noticed what seems to be a bug in Delta Chat for Android 2.56

Steps to reproduce:

  1. Add a relay.
  2. Delete the relay from the Relays list.
  3. Open Settings → Advanced → Connections.

Expected behavior: The deleted relay should no longer appear in the Connections list.

Actual behavior: The relay is removed from the Relays list, but it remains visible under Connections.

I also tried Force Stop on the Delta Chat app and reopened it, but the Connections list did not change. The deleted relay is still listed there.

Is this expected behavior, or is it a bug?

It is expected, as the goal is to get rid of the “hide relay” and “delete relay” distinction. When you delete a relay, it is actually deleted after determining that it does not receive any more messages (for 90 days).

Here is an issue that describes the idea that was implemented: Remove hidden relays automatically · Issue #8384 · chatmail/core · GitHub

Ok.

Thanks a lot

But I guess I have a problem now…

It seems that while dialing an audio call, TURN server will be get from all relays.

I added a relay other than my own server, and I wanted to delete it so that the TURN server of my own relay come into use.

But it seems now that there is no way to delete the unwanted relay immediately. And its TURN server is used while calling. So it seems that I have no way to use my own server TURN relay, right?

I wrote about the problem here, too:

Yes, currently TURN servers are basically picked at random. See Calls: use all relays' TURN servers, not just one.
If you want to circumvent this, create a fresh profile from the relay’s invite link.

@WofWca but it wouldn’t it make sense to skip “relays in deletion” from collecting TURN candidates?

Probably it would.