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" -> {