mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-24 07:51:34 +02:00
Remove redundant lines
This commit is contained in:
parent
3d7f6919cf
commit
d3a548773a
@ -71,10 +71,6 @@ module.exports = React.createClass({
|
|||||||
return this._getEventSenderName(ev);
|
return this._getEventSenderName(ev);
|
||||||
}).join(', ');
|
}).join(', ');
|
||||||
|
|
||||||
if (names.length === 0) {
|
|
||||||
return this._getEventSenderName(lastEvent);
|
|
||||||
}
|
|
||||||
|
|
||||||
let lastName = this._getEventSenderName(lastEvent);
|
let lastName = this._getEventSenderName(lastEvent);
|
||||||
if (names.length === 0) {
|
if (names.length === 0) {
|
||||||
// special-case for a single event
|
// special-case for a single event
|
||||||
|
Loading…
x
Reference in New Issue
Block a user