From 91031be4c0513454c6b453088853e379739fbb6a Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Thu, 6 Jan 2022 22:08:18 -0500 Subject: [PATCH] fix android invitations --- 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 87e78166..cf207e99 100644 --- a/android/app/src/main/kotlin/im/cwtch/flwtch/FlwtchWorker.kt +++ b/android/app/src/main/kotlin/im/cwtch/flwtch/FlwtchWorker.kt @@ -239,7 +239,7 @@ class FlwtchWorker(context: Context, parameters: WorkerParameters) : "SendInvitation" -> { val profile = (a.get("ProfileOnion") as? String) ?: "" val conversation = a.getInt("conversation").toLong() - val target = a.getInt("conversation").toLong() + val target = a.getInt("target").toLong() Cwtch.sendInvitation(profile, conversation, target) } "ShareFile" -> {