fix(MessageView): Show header when prev message is system PinnedMessage
This commit is contained in:
parent
ad8f749289
commit
68065f1c6c
|
@ -490,6 +490,7 @@ Loader {
|
||||||
|
|
||||||
showHeader: root.shouldRepeatHeader || dateGroupLabel.visible || isAReply ||
|
showHeader: root.shouldRepeatHeader || dateGroupLabel.visible || isAReply ||
|
||||||
root.prevMessageContentType === Constants.messageContentType.systemMessagePrivateGroupType ||
|
root.prevMessageContentType === Constants.messageContentType.systemMessagePrivateGroupType ||
|
||||||
|
root.prevMessageContentType === Constants.messageContentType.systemMessagePinnedMessage ||
|
||||||
root.senderId !== root.prevMessageSenderId
|
root.senderId !== root.prevMessageSenderId
|
||||||
isActiveMessage: d.isMessageActive
|
isActiveMessage: d.isMessageActive
|
||||||
topPadding: showHeader ? Style.current.halfPadding : 0
|
topPadding: showHeader ? Style.current.halfPadding : 0
|
||||||
|
|
Loading…
Reference in New Issue