I haven't found the bug yet, but at least somewhat cornered in linphone-desktop/linphone-app/src/components/chat/ChatModel.cpp in ChatModel::setSipAddress():
... for (auto &message : mChatRoom->getHistory(0)) mEntries << qMakePair( QVariantMap{ { "type", EntryType::MessageEntry }, { "timestamp", QDateTime::fromMSecsSinceEpoch(message->getTime() * 1000) } }, static_pointer_cast<void>(message) ); ... The call to mChatRoom->getHistory(0) should return a list of pointers to all messages in that chatroom (peerAddress, localAddress) to iterate over, but it returns nothing, even though it should. Finding that out is going to be difficult because linphone-desktop invokes the DB code through C++ wrappers around C bindings which are written against the C++ code in liblinphone/-/blob/master/src/db/main-db.cpp. I'll try next to get the liblinphone test suite to run, and hopefully it will produce a failure that is easier to debug. Regards, Dennis.