From 8460c2224037355d93d86302fa8ac26136f3be46 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Mon, 16 Dec 2024 10:04:55 -0500 Subject: [PATCH] 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. --- ui/app/AppLayouts/Chat/views/ChatContentView.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/app/AppLayouts/Chat/views/ChatContentView.qml b/ui/app/AppLayouts/Chat/views/ChatContentView.qml index cfd60e6305..0c92a4dac1 100644 --- a/ui/app/AppLayouts/Chat/views/ChatContentView.qml +++ b/ui/app/AppLayouts/Chat/views/ChatContentView.qml @@ -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