fix(chat): fix blocked contact being able to be sent a CR (#16954)

Fixes #16951

The property `isContactBlocked` was not passed to the component.
This commit is contained in:
Jonathan Rainville 2024-12-13 14:00:52 -05:00 committed by GitHub
parent 0eb29c64e3
commit f614f0c8a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -104,6 +104,7 @@ ColumnLayout {
chatId: root.chatId
isOneToOne: root.chatType === Constants.chatType.oneToOne
isChatBlocked: root.isBlocked || !root.isUserAllowedToSendMessage
isContactBlocked: root.isBlocked
channelEmoji: !chatContentModule ? "" : (chatContentModule.chatDetails.emoji || "")
sendViaPersonalChatEnabled: root.sendViaPersonalChatEnabled
areTestNetworksEnabled: root.areTestNetworksEnabled