mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 09:46:09 +03:00
delint
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
6be318b59d
commit
9331ca9d07
1 changed files with 11 additions and 13 deletions
|
@ -445,19 +445,17 @@ module.exports = createReactClass({
|
|||
return this._getTilesForEvent(e, e, e === lastShownEvent);
|
||||
}).reduce((a, b) => a.concat(b));
|
||||
|
||||
if (eventTiles.length > 0) {
|
||||
ret.push(<EventListSummary
|
||||
key="roomcreationsummary"
|
||||
events={summarisedEvents}
|
||||
onToggle={this._onHeightChanged} // Update scroll state
|
||||
summaryMembers={[mxEv.sender]}
|
||||
summaryText={_t("%(creator)s created and configured the room.", {
|
||||
creator: mxEv.sender ? mxEv.sender.name : mxEv.getSender(),
|
||||
})}
|
||||
>
|
||||
{ eventTiles }
|
||||
</EventListSummary>);
|
||||
}
|
||||
ret.push(<EventListSummary
|
||||
key="roomcreationsummary"
|
||||
events={summarisedEvents}
|
||||
onToggle={this._onHeightChanged} // Update scroll state
|
||||
summaryMembers={[mxEv.sender]}
|
||||
summaryText={_t("%(creator)s created and configured the room.", {
|
||||
creator: mxEv.sender ? mxEv.sender.name : mxEv.getSender(),
|
||||
})}
|
||||
>
|
||||
{ eventTiles }
|
||||
</EventListSummary>);
|
||||
|
||||
if (readMarkerInSummary) {
|
||||
ret.push(this._getReadMarkerTile(visible));
|
||||
|
|
Loading…
Reference in a new issue