summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'views/indexentry.erb')
-rw-r--r--views/indexentry.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/indexentry.erb b/views/indexentry.erb
index ba6a2cf..4c8edec 100644
--- a/views/indexentry.erb
+++ b/views/indexentry.erb
@@ -21,7 +21,7 @@
<% MostRecentMessagesCache.instance[list].each do |message| %>
<tr>
<td><a href="/<%= list %>/message/<%= message['_id'] %>"><%= h message['_source']['subject'] %></a></td>
- <td><%= h message['_source']['from_realname'] %></td>
+ <td><%= h strip_email_headers(message['_source']['from_realname']).first %></td>
</tr>
<% end %>
</table>