Proper delete support from Cwtch (also remove fake delete) #195
No reviewers
Labels
No Label
1app
2 apps
accessibility
android
before-beta
bug
duplicate
enhancement
first-contact
fixed
help wanted
infrastructure
invalid
low-priority
must-fix
needs testing
nice-to-have
question
tor
user-feedback
wontfix
No Milestone
3 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cwtch.im/ui#195
Loading…
Reference in New Issue
No description provided.
Delete Branch ":delete"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
so the cwtch backend didn't respect this attribute delete so it kept trying to make the connections.
This now adopts the proper delete support from
cwtch.im/cwtch#265
And removes the fake one, so fake deleted contacts will reappear so they can be properly deleted
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/ui/246
Drone Build Status: success
https://build.openprivacy.ca/cwtch.im/ui/247
merge conflict (due to sarah's pr probably)
also the following is no longer correct:
since contactsModel.remove(i) will shift the subsequent indices. however it's not semantically correct for there to be more than one contact with the same handle so it doesn't matter in practice; maybe put a
return
after the call to .remove() though, just to make it explicit?Drone Build Status: success
https://build.openprivacy.ca/cwtch.im/ui/266
Drone Build Status: success
https://build.openprivacy.ca/cwtch.im/ui/267