You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
also update e2e icon once the room becomes encrypted
This commit is contained in:
@@ -591,6 +591,10 @@ module.exports = React.createClass({
|
||||
this._updatePreviewUrlVisibility(room);
|
||||
}
|
||||
|
||||
if (ev.getType() === "m.room.encryption") {
|
||||
this._updateE2EStatus(room);
|
||||
}
|
||||
|
||||
// ignore anything but real-time updates at the end of the room:
|
||||
// updates from pagination will happen when the paginate completes.
|
||||
if (toStartOfTimeline || !data || !data.liveEvent) return;
|
||||
|
||||
Reference in New Issue
Block a user