mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-01 18:59:25 +00:00
fix(core-chat-room): coding style
This commit is contained in:
parent
d83cd8790d
commit
50244176a6
1 changed files with 4 additions and 4 deletions
|
|
@ -172,11 +172,11 @@ shared_ptr<AbstractChatRoom> Core::findOneToOneChatRoom (
|
|||
) const {
|
||||
L_D();
|
||||
for (const auto &chatRoom : d->chatRooms) {
|
||||
const IdentityAddress &curLocalAddress = chatRoom->getLocalAddress();
|
||||
if (
|
||||
chatRoom->getParticipantCount() == 1 &&
|
||||
(
|
||||
(chatRoom->getLocalAddress() == localAddress && participantAddress == chatRoom->getParticipants().front()->getAddress()) ||
|
||||
(chatRoom->getLocalAddress() == localAddress.getAddressWithoutGruu() && chatRoom->getPeerAddress() == participantAddress)
|
||||
chatRoom->getParticipantCount() == 1 && (
|
||||
(curLocalAddress == localAddress && participantAddress == chatRoom->getParticipants().front()->getAddress()) ||
|
||||
(curLocalAddress == localAddress.getAddressWithoutGruu() && chatRoom->getPeerAddress() == participantAddress)
|
||||
)
|
||||
)
|
||||
return chatRoom;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue