simplex-chat icon indicating copy to clipboard operation
simplex-chat copied to clipboard

Cannot delete contact after they leave a group

Open Perelandra0x309 opened this issue 3 years ago • 1 comments

I have two Simplex accounts:

Contact A: Android 11, SimpleX v3.2.1 (52) Contact B: Fedora 36 KDE, SimpleX Chat v3.2.1

This is the sequence of events:

-Contact B (Fedora) sends Contact A (Android) their chat address -Contact A uses "Connect via received link" to establish a connection -Contact B accepts, and both are able to communicate in 1:1 chat -Contact A is an admin in a group and sends invite to Contact B to be a "member" -Contact B accepts, is able to communicate in group -Contact B leaves group -Contact A goes into their 1:1 chat and attempts to delete Contact B but gets the error:

Can't delete contact! Contact [Contact B]! cannot be deleted, they are a member of the groups(s) [GroupName].

Contact A is a member of the group still and views the group info and Contact B is not listed as a member Contact B uses the /groups command to verify they are no longer in the group

Current workaround is to clear the chat and set a contact name so I know which is the old one (I am changing server configs Contact B uses).

Perelandra0x309 avatar Sep 11 '22 16:09 Perelandra0x309

I have a similar issue. It happens to me only with the developer contact and in the official SimpleX group. This also introduces a security issue.

We have learned that there is an on/off switch that opens/closes incoming/outgoing connections, however that switch acts on all chats. Instead, it would be convenient to have it specifcly for each contact/group so that a contact/group can be blocked without necessarily having to delete the pairing or blocking all the chats.

The security problem arises because of the fact that if I fail, for some reason, to "unhook" a contact/group, it is "glued" to my "account." It is stalking or something similar, even though it should not lead to any negative consequence it is still a flaw in itself.

Moreover, I have no defense mechanism to block that contact: if the "delete" works, it's ok, but if it doesn't, I have no arrows in my bow to "unglue" it.

Consider what I wrote above to mitigate the problem keeping in mind that "delete," "block," and "mute notifications" are three separate functions with similar but not the same characteristics. All three are needed in my humble opinion.

serrq avatar Sep 12 '22 17:09 serrq

Agreed, we will be improving it. I am considering to make a direct connection in the group optional - maybe a property of the group itself. Also it should be possible to delete the contact after they leave the group indeed.

epoberezkin avatar Oct 16 '22 08:10 epoberezkin

this is done now, you can delete contacts even while they are in groups

epoberezkin avatar Nov 25 '22 22:11 epoberezkin