detail pass on DMs

This commit is contained in:
Zoe 2020-01-27 12:17:12 +00:00
parent 7a79b78292
commit e224150190
3 changed files with 8 additions and 4 deletions

View file

@ -478,8 +478,9 @@ export default createReactClass({
let dmIndicator;
let dmOnline;
// If we can place a shield, do that instead
if (dmUserId && !this.state.e2eStatus) {
/* Post-cross-signing we don't show DM indicators at all, instead relying on user
context to let them know when that is. */
if (dmUserId && !SettingsStore.isFeatureEnabled("feature_cross_signing")) {
dmIndicator = <img
src={require("../../../../res/img/icon_person.svg")}
className="mx_RoomTile_dm"