mirror of
https://github.com/element-hq/element-web
synced 2024-10-25 04:05:55 +03:00
also update e2e icon once the room becomes encrypted
This commit is contained in:
parent
ea8de6fe07
commit
987b119731
1 changed files with 4 additions and 0 deletions
|
@ -591,6 +591,10 @@ module.exports = React.createClass({
|
||||||
this._updatePreviewUrlVisibility(room);
|
this._updatePreviewUrlVisibility(room);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ev.getType() === "m.room.encryption") {
|
||||||
|
this._updateE2EStatus(room);
|
||||||
|
}
|
||||||
|
|
||||||
// ignore anything but real-time updates at the end of the room:
|
// ignore anything but real-time updates at the end of the room:
|
||||||
// updates from pagination will happen when the paginate completes.
|
// updates from pagination will happen when the paginate completes.
|
||||||
if (toStartOfTimeline || !data || !data.liveEvent) return;
|
if (toStartOfTimeline || !data || !data.liveEvent) return;
|
||||||
|
|
Loading…
Reference in a new issue