updatemessageflags got mismerged oops
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
erinn 2021-06-11 15:15:42 -07:00
parent 5c8d448a37
commit 2abdcdeae0
1 changed files with 7 additions and 0 deletions

View File

@ -139,6 +139,13 @@ class FlwtchWorker(context: Context, parameters: WorkerParameters) :
val end = (a.get("end") as? Long) ?: 0;
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" -> {
val profile = (a.get("ProfileOnion") as? String) ?: "";
val handle = (a.get("handle") as? String) ?: "";