mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-07 15:08:24 +00:00
Fix empty chat rooms on the first selection with unread messages.
This commit is contained in:
parent
990d7b2dcb
commit
29276cfc49
1 changed files with 1 additions and 1 deletions
|
|
@ -939,7 +939,7 @@ void ChatRoomModel::resetData(){
|
|||
void ChatRoomModel::initEntries(){
|
||||
if( mList.size() > mLastEntriesStep)
|
||||
resetData();
|
||||
if(mList.size() == 0) {
|
||||
if(mList.size() <= (mUnreadMessageNotice ? 1 : 0)) {
|
||||
qDebug() << "Internal Entries : Init";
|
||||
// On call : reinitialize all entries. This allow to free up memory
|
||||
QList<QSharedPointer<ChatEvent> > entries;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue