mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 12:38:09 +00:00
feat(MainDb): add logs on chat rooms fetch
This commit is contained in:
parent
f6cd06d37d
commit
98d0ae00b0
2 changed files with 4 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ shared_ptr<ChatRoom> Core::findChatRoom (const ChatRoomId &chatRoomId) const {
|
|||
if (it != d->chatRoomsById.cend())
|
||||
return it->second;
|
||||
|
||||
lInfo() << "Unable to find chat room: (peer=" <<
|
||||
lInfo() << "Unable to find chat room in RAM: (peer=" <<
|
||||
chatRoomId.getPeerAddress().asString() << ", local=" << chatRoomId.getLocalAddress().asString() << ").";
|
||||
|
||||
return shared_ptr<ChatRoom>();
|
||||
|
|
|
|||
|
|
@ -1410,6 +1410,9 @@ MainDb::MainDb (const shared_ptr<Core> &core) : AbstractDb(*new MainDbPrivate),
|
|||
dChatRoom->creationTime = Utils::getTmAsTimeT(creationDate);
|
||||
dChatRoom->lastUpdateTime = Utils::getTmAsTimeT(lastUpdateDate);
|
||||
|
||||
lInfo() << "Found chat room in DB: (peer=" <<
|
||||
chatRoomId.getPeerAddress().asString() << ", local=" << chatRoomId.getLocalAddress().asString() << ").";
|
||||
|
||||
chatRooms.push_back(chatRoom);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue