diff --git a/ui/app/AppLayouts/Chat/ChatColumn.qml b/ui/app/AppLayouts/Chat/ChatColumn.qml index 05fa0193bf..2db3a38ee4 100644 --- a/ui/app/AppLayouts/Chat/ChatColumn.qml +++ b/ui/app/AppLayouts/Chat/ChatColumn.qml @@ -529,9 +529,6 @@ Item { onContactListChanged: { isBlocked = profileModel.contacts.isContactBlocked(activeChatId); } - onContactBlocked: { - chatsModel.messageView.removeMessagesByUserId(publicKey) - } } Connections { diff --git a/ui/app/AppLayouts/Chat/ChatColumn/Message.qml b/ui/app/AppLayouts/Chat/ChatColumn/Message.qml index b7a2040de2..8dc166d33e 100644 --- a/ui/app/AppLayouts/Chat/ChatColumn/Message.qml +++ b/ui/app/AppLayouts/Chat/ChatColumn/Message.qml @@ -158,17 +158,6 @@ Item { } } - Connections { - target: profileModel.contacts - onContactBlocked: { - // This hack is used because removeMessagesByUserId sometimes does not remove the messages - if(publicKey === fromAuthor){ - root.visible = 0; - root.height = 0; - } - } - } - Connections { target: chatsModel.messageView onHideMessage: {