forked from mirrors/linphone-iphone
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