From cf7d1b0331b68e5f2fcf59c4a085e5f62e951cb3 Mon Sep 17 00:00:00 2001 From: Rowan Seymour Date: Thu, 25 Apr 2024 08:09:08 -0500 Subject: [PATCH] Add support for status=READ --- archives/messages.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archives/messages.go b/archives/messages.go index 91ce359..647b211 100644 --- a/archives/messages.go +++ b/archives/messages.go @@ -44,7 +44,7 @@ SELECT rec.visibility, row_to_json(rec) FROM ( WHEN status = 'E' THEN 'errored' WHEN status = 'F' THEN 'failed' WHEN status = 'S' THEN 'sent' - WHEN status = 'R' THEN 'resent' + WHEN status = 'R' THEN 'read' ELSE NULL END AS status, CASE WHEN visibility = 'V' THEN 'visible' WHEN visibility = 'A' THEN 'archived' WHEN visibility = 'D' THEN 'deleted' WHEN visibility = 'X' THEN 'deleted' ELSE NULL END as visibility,