Merge pull request 'Fix Android Delete Contact API' (#158) from archive into trunk

Reviewed-on: cwtch.im/cwtch-ui#158
Reviewed-by: erinn <erinn@openprivacy.ca>
This commit is contained in:
erinn 2021-08-27 21:28:36 +00:00
commit 08635aec7f
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ class FlwtchWorker(context: Context, parameters: WorkerParameters) :
"DeleteContact" -> {
val profile = (a.get("ProfileOnion") as? String) ?: ""
val handle = (a.get("handle") as? String) ?: ""
Cwtch.deleteConversation(profile, handle)
Cwtch.deleteContact(profile, handle)
}
"RejectInvite" -> {
val profile = (a.get("ProfileOnion") as? String) ?: ""