forked from cwtch.im/cwtch-ui
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:
commit
08635aec7f
|
@ -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