mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-19 10:37:01 +00:00
message, webui: Fix QP address rendering, closes #117
This commit is contained in:
@@ -85,7 +85,7 @@ func (s *StoreManager) Deliver(
|
|||||||
broadcast := msghub.Message{
|
broadcast := msghub.Message{
|
||||||
Mailbox: to.Mailbox,
|
Mailbox: to.Mailbox,
|
||||||
ID: id,
|
ID: id,
|
||||||
From: delivery.From().String(),
|
From: stringutil.StringAddress(delivery.From()),
|
||||||
To: stringutil.StringAddressList(delivery.To()),
|
To: stringutil.StringAddressList(delivery.To()),
|
||||||
Subject: delivery.Subject(),
|
Subject: delivery.Subject(),
|
||||||
Date: delivery.Date(),
|
Date: delivery.Date(),
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ func MailboxMessage(w http.ResponseWriter, req *http.Request, ctx *web.Context)
|
|||||||
&jsonMessage{
|
&jsonMessage{
|
||||||
Mailbox: name,
|
Mailbox: name,
|
||||||
ID: msg.ID,
|
ID: msg.ID,
|
||||||
From: msg.From.String(),
|
From: stringutil.StringAddress(msg.From),
|
||||||
To: stringutil.StringAddressList(msg.To),
|
To: stringutil.StringAddressList(msg.To),
|
||||||
Subject: msg.Subject,
|
Subject: msg.Subject,
|
||||||
Date: msg.Date,
|
Date: msg.Date,
|
||||||
|
|||||||
Reference in New Issue
Block a user