From e44f98ab9839c2470714db311b0d3f57d80caf9b Mon Sep 17 00:00:00 2001 From: Julien Wadel Date: Tue, 14 Sep 2021 14:22:55 +0200 Subject: [PATCH] In timeline filter : simple room is one-one and groups are conference (groupEnabled) --- linphone-app/src/components/timeline/TimelineProxyModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linphone-app/src/components/timeline/TimelineProxyModel.cpp b/linphone-app/src/components/timeline/TimelineProxyModel.cpp index 9c9fa4219..56c2b8bbb 100644 --- a/linphone-app/src/components/timeline/TimelineProxyModel.cpp +++ b/linphone-app/src/components/timeline/TimelineProxyModel.cpp @@ -91,7 +91,7 @@ bool TimelineProxyModel::filterAcceptsRow (int sourceRow, const QModelIndex &sou auto timeline = sourceModel()->data(index).value(); bool show = (mFilterFlags==0);// Show all at 0 (no hide all) auto currentAddress = Utils::interpretUrl(CoreManager::getInstance()->getAccountSettingsModel()->getUsedSipAddressAsStringUriOnly()); - bool isGroup = timeline->getChatRoomModel()->isGroupEnabled() && timeline->getChatRoomModel()->getParticipants()->getCount() > 2; + bool isGroup = timeline->getChatRoomModel()->isGroupEnabled(); if( !show && ( (mFilterFlags & TimelineFilter::SimpleChatRoom) == TimelineFilter::SimpleChatRoom)) show = !isGroup && !timeline->getChatRoomModel()->haveEncryption(); if( !show && ( (mFilterFlags & TimelineFilter::SecureChatRoom) == TimelineFilter::SecureChatRoom))