mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-07 06:59:45 +00:00
fix(SipAddressesModel): do not fetch all chat messages to construct history, ONLY THE LAST...
This commit is contained in:
parent
ff3407d9cd
commit
a4b9bdb6f0
1 changed files with 1 additions and 1 deletions
|
|
@ -469,7 +469,7 @@ void SipAddressesModel::initSipAddresses () {
|
|||
|
||||
// Get sip addresses from chatrooms.
|
||||
for (const auto &chatRoom : core->getChatRooms()) {
|
||||
list<shared_ptr<linphone::ChatMessage> > history = chatRoom->getHistory(0);
|
||||
list<shared_ptr<linphone::ChatMessage> > history = chatRoom->getHistory(1);
|
||||
|
||||
if (history.size() == 0)
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue