This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 027459ce Show name and email
027459ce is described below

commit 027459ce1a5b907d502a7700d5114d0beb8e7c4f
Author: Sebb <[email protected]>
AuthorDate: Sun Apr 13 15:31:25 2025 +0100

    Show name and email
---
 www/secretary/workbench/models/mailbox.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/secretary/workbench/models/mailbox.rb 
b/www/secretary/workbench/models/mailbox.rb
index a51824e8..36e95c34 100644
--- a/www/secretary/workbench/models/mailbox.rb
+++ b/www/secretary/workbench/models/mailbox.rb
@@ -206,7 +206,7 @@ class Mailbox
       entry = {
         time: message[:time] || '',
         href: "#{message[:source]}/#{id}/",
-        from: (message[:name] || message[:from]).to_s.fix_encoding,
+        from: message['From'].to_s.fix_encoding,
         date: message['Date'] || '',
         subject: (message['Subject'] || '(empty)').to_s.fix_encoding,
         status: message[:status]

Reply via email to