use renamed decrypt event method
This commit is contained in:
parent
1cfd4b6e1a
commit
f9f10de0da
5 changed files with 8 additions and 14 deletions
|
@ -1149,10 +1149,8 @@ class TimelinePanel extends React.Component {
|
|||
arrayFastClone(events)
|
||||
.reverse()
|
||||
.forEach(event => {
|
||||
if (event.shouldAttemptDecryption()) {
|
||||
const client = MatrixClientPeg.get();
|
||||
client.decryptEvent(event);
|
||||
}
|
||||
const client = MatrixClientPeg.get();
|
||||
client.decryptEventIfNeeded(event);
|
||||
});
|
||||
|
||||
const firstVisibleEventIndex = this._checkForPreJoinUISI(events);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue