From a1f0d83386d1a6e8e171cbfd471a83005fac8f89 Mon Sep 17 00:00:00 2001 From: Julien Wadel Date: Tue, 10 Oct 2023 14:04:26 +0200 Subject: [PATCH] Fix freeze update state on timelines. --- README.md | 2 +- linphone-app/src/components/chat-room/ChatRoomModel.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9e544d4fa..1ef018654 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Linphone is dual licensed, and is available either : Here are the general instructions to build Linphone for desktop. The specific instructions for each build platform is described just below. You will need the tools : -- `cmake` >= 3.15 : download it in https://cmake.org/download/ +- `cmake` >= 3.22 : download it in https://cmake.org/download/ - `python` : https://www.python.org/downloads/release/python-381/ - `pip` : it is already embedded inside Python, so there should be nothing to do about it - `yasm` : https://yasm.tortall.net/Download.html diff --git a/linphone-app/src/components/chat-room/ChatRoomModel.cpp b/linphone-app/src/components/chat-room/ChatRoomModel.cpp index b9a36beda..b5044a5c7 100644 --- a/linphone-app/src/components/chat-room/ChatRoomModel.cpp +++ b/linphone-app/src/components/chat-room/ChatRoomModel.cpp @@ -142,6 +142,7 @@ ChatRoomModel::ChatRoomModel (const std::shared_ptr& chatRoo QObject::connect(coreManager->getContactsListModel(), &ContactsListModel::contactUpdated, this, &ChatRoomModel::fullPeerAddressChanged); QObject::connect(coreManager->getContactsListModel(), &ContactsListModel::contactUpdated, this, &ChatRoomModel::avatarChanged); + connect(this, &ChatRoomModel::stateChanged, this, &ChatRoomModel::updatingChanged); connect(this, &ChatRoomModel::fullPeerAddressChanged, this, &ChatRoomModel::usernameChanged); connect(this, &ChatRoomModel::messageCountReset, this, &ChatRoomModel::unreadMessagesCountChanged); connect(this, &ChatRoomModel::unreadMessagesCountChanged, coreManager, &CoreManager::eventCountChanged);