android boopy doopies
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
e11398428a
commit
edd825332d
|
@ -127,6 +127,27 @@ class MainActivity: FlutterActivity() {
|
||||||
val end = (call.argument("end") as? Long) ?: 0;
|
val end = (call.argument("end") as? Long) ?: 0;
|
||||||
result.success(Cwtch.getMessages(profile, handle, start, end))
|
result.success(Cwtch.getMessages(profile, handle, start, end))
|
||||||
}
|
}
|
||||||
|
"AcceptContact" -> {
|
||||||
|
val profile = (call.argument("ProfileOnion") as? String) ?: "";
|
||||||
|
val handle = (call.argument("handle") as? String) ?: "";
|
||||||
|
Cwtch.acceptContact(profile, handle);
|
||||||
|
}
|
||||||
|
"BlockContact" -> {
|
||||||
|
val profile = (call.argument("ProfileOnion") as? String) ?: "";
|
||||||
|
val handle = (call.argument("handle") as? String) ?: "";
|
||||||
|
Cwtch.blockContact(profile, handle);
|
||||||
|
}
|
||||||
|
"DebugResetContact" -> {
|
||||||
|
val profile = (call.argument("ProfileOnion") as? String) ?: "";
|
||||||
|
val handle = (call.argument("handle") as? String) ?: "";
|
||||||
|
Cwtch.debugResetContact(profile, handle);
|
||||||
|
}
|
||||||
|
"SendMessage" -> {
|
||||||
|
val profile = (call.argument("ProfileOnion") as? String) ?: "";
|
||||||
|
val handle = (call.argument("handle") as? String) ?: "";
|
||||||
|
val message = (call.argument("message") as? String) ?: "";
|
||||||
|
Cwtch.sendMessage(profile, handle, message);
|
||||||
|
}
|
||||||
"SendProfileEvent" -> {
|
"SendProfileEvent" -> {
|
||||||
val onion = (call.argument("onion") as? String) ?: "";
|
val onion = (call.argument("onion") as? String) ?: "";
|
||||||
val jsonEvent = (call.argument("jsonEvent") as? String) ?: "";
|
val jsonEvent = (call.argument("jsonEvent") as? String) ?: "";
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue