From 98363a11b647f289ae7a28303dedb9b74d8e098a Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Fri, 27 Aug 2021 14:25:08 -0700 Subject: [PATCH] Fix Android Delete Contact API --- android/app/src/main/kotlin/im/cwtch/flwtch/FlwtchWorker.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/app/src/main/kotlin/im/cwtch/flwtch/FlwtchWorker.kt b/android/app/src/main/kotlin/im/cwtch/flwtch/FlwtchWorker.kt index 4bdb87b5..5a71ea8b 100644 --- a/android/app/src/main/kotlin/im/cwtch/flwtch/FlwtchWorker.kt +++ b/android/app/src/main/kotlin/im/cwtch/flwtch/FlwtchWorker.kt @@ -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) ?: ""