mirror of
https://github.com/axllent/mailpit.git
synced 2026-06-28 06:56:06 +00:00
API: Remove redundant Read status from message (always true)
This commit is contained in:
@@ -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"),
|
||||
|
||||
@@ -15,8 +15,6 @@ type Message struct {
|
||||
ID string
|
||||
// Message ID
|
||||
MessageID string
|
||||
// Read status
|
||||
Read bool
|
||||
// From address
|
||||
From *mail.Address
|
||||
// To addresses
|
||||
|
||||
Reference in New Issue
Block a user