diff --git a/qml/pages/ChatPage.qml b/qml/pages/ChatPage.qml index c4bb440..8363c35 100644 --- a/qml/pages/ChatPage.qml +++ b/qml/pages/ChatPage.qml @@ -563,12 +563,12 @@ Page { } } onUserFullInfoReceived: { - if(userFullInfo["@extra"] === chatPartnerInformation.id.toString()) { + if ((isPrivateChat || isSecretChat) && userFullInfo["@extra"] === chatPartnerInformation.id.toString()) { chatPage.botInformation = userFullInfo; } } onUserFullInfoUpdated: { - if(userId === chatPartnerInformation.id) { + if ((isPrivateChat || isSecretChat) && userId === chatPartnerInformation.id) { chatPage.botInformation = userFullInfo; } }