From d3a548773ae5f35fedbd650ba5a5bb282e97e89e Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Thu, 10 Nov 2016 18:01:34 +0000 Subject: [PATCH] Remove redundant lines --- src/components/views/elements/MemberEventListSummary.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/components/views/elements/MemberEventListSummary.js b/src/components/views/elements/MemberEventListSummary.js index a80d4fea81..f50f56ffb4 100644 --- a/src/components/views/elements/MemberEventListSummary.js +++ b/src/components/views/elements/MemberEventListSummary.js @@ -71,10 +71,6 @@ module.exports = React.createClass({ return this._getEventSenderName(ev); }).join(', '); - if (names.length === 0) { - return this._getEventSenderName(lastEvent); - } - let lastName = this._getEventSenderName(lastEvent); if (names.length === 0) { // special-case for a single event