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 2017/11/10 02:59:37 UTC
[whimsy] branch master updated: recover from invalid message (no
time)
This is an automated email from the ASF dual-hosted git repository.
rubys 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 4d97bdc recover from invalid message (no time)
4d97bdc is described below
commit 4d97bdccbe1ecb80e38b137d9e0eec43635e14b9
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Thu Nov 9 21:59:13 2017 -0500
recover from invalid message (no time)
---
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 4a449b5..f0a1d55 100644
--- a/www/secretary/workbench/models/mailbox.rb
+++ b/www/secretary/workbench/models/mailbox.rb
@@ -162,7 +162,7 @@ class Mailbox
# extract relevant fields from the headers
headers.map! do |id, message|
{
- time: message[:time],
+ time: message[:time] || '',
href: "#{message[:source]}/#{id}/",
from: message[:name] || message[:from],
subject: message['Subject'],
--
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].