Manually adding a trusted contact fails if contact is already in a conversation
To Reproduce
Part A (as reference for what DOES work) What works to successfully adding a trusted contact
- Go to "Conversations"
- Hit the + add contact icon
- Take a fresh LXMF address that is NOT already in a dialogue
- Enter fresh address into address field
- select 'trusted'
- select 'Create'
Result: A trusted contact is added successfully
Part B - Failing to add a trusted contact
- Go to 'Conversations'
- Select an LXMF address from a contact you already have in your Conversation list which was added by means of 'automatic broadcast' (to be clear, the contact was not added manually) - you now want to add that same contact as a 'Trusted contact' . Note, you may need to write this down on paper since you cannot copy and paste their address (feature request for later) from the contact page...
- Still in "Conversations", hit the + add contact icon
- Enter this address
- Name it
- Select 'Trusted'
- Hit 'Create'
Result: It will fail to save the contact asking to 'check input' of address.
My guess is that the software will only allow one address with the exact same address at the same time?
Part C - How to work around
- First delete completely the contact you want to add from the Conversation list
- Repeat steps above
Result: All good, contact is now added
Expected Behavior I would expect the warning to say something like this:
"Cannot save duplicate contact / address - please delete original record with matching address from 'conversations' and re-attempt.
or, even better, Sideband would immediately identify and ask you if you want to do this, and then just do it for you and save the new one....
Logs & Screenshots none
System Information
- Ubuntu 24.04
- Python version 3.12
- Program version 1.7.0
Additional context none