deltachat / deltachat-desktop

Email-based instant messaging for Desktop.
GNU General Public License v3.0
943 stars 169 forks source link

No way to "Deactivate QR Code", incl. for groups #4213

Open iequidoo opened 1 month ago

iequidoo commented 1 month ago

On Android the user can "Deactivate QR Code" (via the vertical ellipsis menu) which leads to removal of the corresponding token from all devices. The jsonrpc API is already here -- see QrObject::{WithdrawVerifyContact,WithdrawVerifyGroup}.

Simon-Laux commented 1 month ago

basically the api is: scan the own qr code you get. So the ui option would need to get the current qr code for the user/group and then "execute" it to deactivate it. This is already implemented in the qr code scanner. This issue is about adding a UI button for this action.

Simon-Laux commented 1 month ago

Where should this option be exactly on desktop?

Ping @r10s

r10s commented 1 month ago

as we already have a context menu for the QR code, i'd add it there, as the last option.

Screenshot 2024-10-17 at 10 42 08

that's good enough for now, esp. as the option was not there at all before (also not for years on andriod/iOS) and the dialog is anyway subject to change i would not go for sth. more special for now