Skip to content

Commit

Permalink
Add support for status=READ
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanseymour committed Apr 25, 2024
1 parent 3c3a6ea commit cf7d1b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion archives/messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit cf7d1b0

Please sign in to comment.