mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 03:36:07 +03:00
Remove redundant lines
This commit is contained in:
parent
3d7f6919cf
commit
d3a548773a
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue