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

Fixes #16951

The property `isContactBlocked` was not passed to the component.
This commit is contained in:
Jonathan Rainville 2024-12-16 10:04:55 -05:00 committed by GitHub
parent d4e2d4dc50
commit 8460c22240
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