mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 17:56:01 +03:00
Removal of the mini avatars for action (info) messages
This commit is contained in:
parent
afd1ab1582
commit
993333490d
1 changed files with 1 additions and 7 deletions
|
@ -403,13 +403,7 @@ module.exports = React.createClass({
|
|||
var readAvatars = this.getReadAvatars();
|
||||
|
||||
var avatar, sender;
|
||||
if (isInfoMessage) {
|
||||
avatar = (
|
||||
<div className="mx_EventTile_avatar">
|
||||
<MemberAvatar member={this.props.mxEvent.sender} width={14} height={14} onClick={ this.onMemberAvatarClick } />
|
||||
</div>
|
||||
);
|
||||
} else if (!this.props.continuation) {
|
||||
if (!this.props.continuation && !isInfoMessage) {
|
||||
if (this.props.mxEvent.sender) {
|
||||
avatar = (
|
||||
<div className="mx_EventTile_avatar">
|
||||
|
|
Loading…
Reference in a new issue