Add labs flag: Show only current profile on historical messages (#7815)

* Add labs flag: Show only current profile on historical messages

For https://github.com/vector-im/element-web/issues/3768
Related https://github.com/vector-im/element-web/issues/4677

* Use the member's user ID
This commit is contained in:
Travis Ralston 2022-02-18 07:58:04 -07:00 committed by GitHub
parent acd051db43
commit 34567b9aab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 39 additions and 10 deletions

View file

@ -1260,6 +1260,7 @@ export default class EventTile extends React.Component<IProps, IState> {
width={avatarSize}
height={avatarSize}
viewUserOnClick={true}
forceHistorical={this.props.mxEvent.getType() === EventType.RoomMember}
/>
</div>
);