API: Remove redundant Read status from message (always true)

This commit is contained in:
Ralph Slooten
2023-09-22 07:07:40 +12:00
parent 8e0c174bf3
commit 9af04f83a3
2 changed files with 0 additions and 3 deletions

View File

@@ -431,7 +431,6 @@ func GetMessage(id string) (*Message, error) {
obj := Message{
ID: id,
MessageID: messageID,
Read: true,
From: from,
Date: date,
To: addressToSlice(env, "To"),

View File

@@ -15,8 +15,6 @@ type Message struct {
ID string
// Message ID
MessageID string
// Read status
Read bool
// From address
From *mail.Address
// To addresses