Merge pull request #4178 from n0emis/crosssigning-presence

Show the room presence indicator, even when cross-singing is enabled
This commit is contained in:
Travis Ralston 2020-03-05 10:38:01 -07:00 committed by GitHub
commit 3527fae275
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -490,6 +490,7 @@ export default createReactClass({
height="13" height="13"
alt="dm" alt="dm"
/>; />;
}
const { room } = this.props; const { room } = this.props;
const member = room.getMember(dmUserId); const member = room.getMember(dmUserId);
@ -500,7 +501,6 @@ export default createReactClass({
const UserOnlineDot = sdk.getComponent('rooms.UserOnlineDot'); const UserOnlineDot = sdk.getComponent('rooms.UserOnlineDot');
dmOnline = <UserOnlineDot userId={dmUserId} />; dmOnline = <UserOnlineDot userId={dmUserId} />;
} }
}
// The following labels are written in such a fashion to increase screen reader efficiency (speed). // The following labels are written in such a fashion to increase screen reader efficiency (speed).
if (notifBadges && mentionBadges && !isInvite) { if (notifBadges && mentionBadges && !isInvite) {