diff --git a/storage/database.go b/storage/database.go index 4a13460..c3e3245 100644 --- a/storage/database.go +++ b/storage/database.go @@ -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"), diff --git a/storage/structs.go b/storage/structs.go index 2f01e91..e3e05df 100644 --- a/storage/structs.go +++ b/storage/structs.go @@ -15,8 +15,6 @@ type Message struct { ID string // Message ID MessageID string - // Read status - Read bool // From address From *mail.Address // To addresses