updatemessageflags got mismerged oops
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
5c8d448a37
commit
2abdcdeae0
|
@ -139,6 +139,13 @@ class FlwtchWorker(context: Context, parameters: WorkerParameters) :
|
||||||
val end = (a.get("end") as? Long) ?: 0;
|
val end = (a.get("end") as? Long) ?: 0;
|
||||||
return Result.success(Data.Builder().putString("result", Cwtch.getMessages(profile, handle, start, end)).build())
|
return Result.success(Data.Builder().putString("result", Cwtch.getMessages(profile, handle, start, end)).build())
|
||||||
}
|
}
|
||||||
|
"UpdateMessageFlags" -> {
|
||||||
|
val profile = (a.get("profile") as? String) ?: "";
|
||||||
|
val handle = (a.get("contact") as? String) ?: "";
|
||||||
|
val midx = (a.get("midx") as? Long) ?: 0;
|
||||||
|
val flags = (a.get("flags") as? Long) ?: 0;
|
||||||
|
Cwtch.updateMessageFlags(profile, handle, midx, flags);
|
||||||
|
}
|
||||||
"AcceptContact" -> {
|
"AcceptContact" -> {
|
||||||
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) ?: "";
|
||||||
|
|
Loading…
Reference in New Issue