mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-24 22:58:13 +00:00
fix findOneToOneChatRoom in case of chatroom has no participant in
This commit is contained in:
parent
cf5abd62b7
commit
8b0f60894b
1 changed files with 1 additions and 0 deletions
|
|
@ -195,6 +195,7 @@ shared_ptr<AbstractChatRoom> Core::findOneToOneChatRoom (
|
|||
// The only participant's address must match the participantAddress argument
|
||||
if (
|
||||
localAddress == curLocalAddress &&
|
||||
! chatRoom->getParticipants().empty() &&
|
||||
participantAddress.getAddressWithoutGruu() == chatRoom->getParticipants().front()->getAddress() &&
|
||||
(capabilities & ChatRoom::Capabilities::Conference)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue