Regression: Avatar and Username for Allowed Reactions and for Message Removed (#4714)
This commit is contained in:
parent
aa26f7251e
commit
7def88a7e2
|
@ -233,7 +233,9 @@ class MessageContainer extends React.Component<IMessageContainerProps, IMessageC
|
||||||
!(previousItem.groupable === false || item.groupable === false || broadcast === true) &&
|
!(previousItem.groupable === false || item.groupable === false || broadcast === true) &&
|
||||||
// @ts-ignore TODO: IMessage vs IMessageFromServer non-sense
|
// @ts-ignore TODO: IMessage vs IMessageFromServer non-sense
|
||||||
item.ts - previousItem.ts < Message_GroupingPeriod * 1000 &&
|
item.ts - previousItem.ts < Message_GroupingPeriod * 1000 &&
|
||||||
previousItem.tmid === item.tmid
|
previousItem.tmid === item.tmid &&
|
||||||
|
item.t !== 'rm' &&
|
||||||
|
previousItem.t !== 'rm'
|
||||||
) {
|
) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -405,8 +407,7 @@ class MessageContainer extends React.Component<IMessageContainerProps, IMessageC
|
||||||
threadBadgeColor,
|
threadBadgeColor,
|
||||||
toggleFollowThread,
|
toggleFollowThread,
|
||||||
replies
|
replies
|
||||||
}}
|
}}>
|
||||||
>
|
|
||||||
{/* @ts-ignore*/}
|
{/* @ts-ignore*/}
|
||||||
<Message
|
<Message
|
||||||
id={id}
|
id={id}
|
||||||
|
|
|
@ -65,6 +65,7 @@ const messagesWithAuthorName: MessageTypesValues[] = [
|
||||||
'room_changed_avatar',
|
'room_changed_avatar',
|
||||||
'room_e2e_disabled',
|
'room_e2e_disabled',
|
||||||
'room_e2e_enabled',
|
'room_e2e_enabled',
|
||||||
|
'room-allowed-reacting',
|
||||||
'room-disallowed-reacting',
|
'room-disallowed-reacting',
|
||||||
'room-set-read-only',
|
'room-set-read-only',
|
||||||
'room-removed-read-only',
|
'room-removed-read-only',
|
||||||
|
|
Loading…
Reference in New Issue