make breadcrumb room events decryption more idiomatic
This commit is contained in:
parent
d0d2907a07
commit
f1a6f6fd7f
2 changed files with 27 additions and 18 deletions
|
@ -1142,7 +1142,6 @@ class TimelinePanel extends React.Component {
|
|||
_getEvents() {
|
||||
const events = this._timelineWindow.getEvents();
|
||||
|
||||
|
||||
// `slice` performs a shallow copy of the array
|
||||
// we want the last event to be decrypted first but displayed last
|
||||
// `reverse` is destructive and unfortunately mutates the "events" array
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue