forked from cwtch.im/cwtch-ui
Fix Android Delete Contact API
This commit is contained in:
parent
7849deda95
commit
98363a11b6
|
@ -200,7 +200,7 @@ class FlwtchWorker(context: Context, parameters: WorkerParameters) :
|
||||||
"DeleteContact" -> {
|
"DeleteContact" -> {
|
||||||
val profile = (a.get("ProfileOnion") as? String) ?: ""
|
val profile = (a.get("ProfileOnion") as? String) ?: ""
|
||||||
val handle = (a.get("handle") as? String) ?: ""
|
val handle = (a.get("handle") as? String) ?: ""
|
||||||
Cwtch.deleteConversation(profile, handle)
|
Cwtch.deleteContact(profile, handle)
|
||||||
}
|
}
|
||||||
"RejectInvite" -> {
|
"RejectInvite" -> {
|
||||||
val profile = (a.get("ProfileOnion") as? String) ?: ""
|
val profile = (a.get("ProfileOnion") as? String) ?: ""
|
||||||
|
|
Loading…
Reference in New Issue