mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
Display terminated chat rooms and hide empty conferences.
This commit is contained in:
parent
6828fff6f2
commit
ca995e7589
1 changed files with 1 additions and 1 deletions
|
|
@ -244,7 +244,7 @@ void TimelineListModel::updateTimelines () {
|
|||
|
||||
// Clean terminated chat rooms.
|
||||
allChatRooms.remove_if([](std::shared_ptr<linphone::ChatRoom> chatRoom){
|
||||
return chatRoom->getState() == linphone::ChatRoom::State::Terminated || chatRoom->getState() == linphone::ChatRoom::State::Deleted;
|
||||
return chatRoom->getConferenceAddress() && chatRoom->getHistoryEventsSize() == 0;
|
||||
});
|
||||
|
||||
//Remove no more chat rooms
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue