Skip to content

Commit

Permalink
Merge pull request #98 from nyaruka/read_status
Browse files Browse the repository at this point in the history
Add support for msg status=(R)EAD
  • Loading branch information
rowanseymour authored Apr 25, 2024
2 parents 3c3a6ea + cf7d1b0 commit 03ebb1c
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 03ebb1c

Please sign in to comment.