fix(@desktop/messages) Bridge messages will always have headers

Fix #13736
This commit is contained in:
Michal Iskierko 2024-02-27 12:03:56 +01:00 committed by Jonathan Rainville
parent 3188250b1d
commit 473fdc9fbb
1 changed files with 1 additions and 0 deletions

View File

@ -642,6 +642,7 @@ Loader {
root.prevMessageContentType === Constants.messageContentType.systemMessageMutualEventSent || root.prevMessageContentType === Constants.messageContentType.systemMessageMutualEventSent ||
root.prevMessageContentType === Constants.messageContentType.systemMessageMutualEventAccepted || root.prevMessageContentType === Constants.messageContentType.systemMessageMutualEventAccepted ||
root.prevMessageContentType === Constants.messageContentType.systemMessageMutualEventRemoved || root.prevMessageContentType === Constants.messageContentType.systemMessageMutualEventRemoved ||
root.prevMessageContentType === Constants.messageContentType.bridgeMessageType ||
root.senderId !== root.prevMessageSenderId || root.prevMessageDeleted root.senderId !== root.prevMessageSenderId || root.prevMessageDeleted
isActiveMessage: d.isMessageActive isActiveMessage: d.isMessageActive
topPadding: showHeader ? Style.current.halfPadding : 0 topPadding: showHeader ? Style.current.halfPadding : 0