You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2016/09/19 10:16:51 UTC

[whimsy] branch master updated: show name in index view

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

rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  58a024e   show name in index view
58a024e is described below

commit 58a024ed42bf56d7ce270a226b16459f18267780
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Mon Sep 19 06:16:30 2016 -0400

    show name in index view
---
 www/secmail/models/mailbox.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/secmail/models/mailbox.rb b/www/secmail/models/mailbox.rb
index aa3c595..8873651 100644
--- a/www/secmail/models/mailbox.rb
+++ b/www/secmail/models/mailbox.rb
@@ -164,7 +164,7 @@ class Mailbox
       {
         time: message[:time],
         href: "#{message[:source]}/#{id}/",
-        from: message[:from],
+        from: message[:name] || message[:from],
         subject: message['Subject'],
         status: message[:status]
       }

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].