mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
do not subscribe twice for same chat room
This commit is contained in:
parent
04bff71ae0
commit
60c83540c6
1 changed files with 1 additions and 1 deletions
|
|
@ -215,7 +215,7 @@ void ClientGroupChatRoomPrivate::onChatRoomCreated (const Address &remoteContact
|
|||
|
||||
IdentityAddress addr(remoteContact);
|
||||
q->onConferenceCreated(addr);
|
||||
if (remoteContact.hasParam("isfocus")) {
|
||||
if (remoteContact.hasParam("isfocus") && !q->getCore()->getPrivate()->remoteListEventHandler->findHandler(q->getChatRoomId())) {
|
||||
bgTask.start(q->getCore(), 32); // It will be stopped when receiving the first notify
|
||||
qConference->getPrivate()->eventHandler->subscribe(q->getChatRoomId());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue