mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-28 16:49:20 +00:00
always set conference subscribe event
This commit is contained in:
parent
676ab1a8f5
commit
584de095bc
1 changed files with 4 additions and 4 deletions
|
|
@ -104,10 +104,6 @@ void LocalConferenceListEventHandler::subscribeReceived (LinphoneEvent *lev, con
|
|||
continue;
|
||||
}
|
||||
|
||||
string notifyBody = handler->getNotifyForId(notifyId, (chatRoom->getCapabilities() & AbstractChatRoom::Capabilities::OneToOne));
|
||||
if (notifyBody.empty())
|
||||
continue;
|
||||
|
||||
shared_ptr<Participant> participant = chatRoom->findParticipant(participantAddr);
|
||||
if (!participant) {
|
||||
lError() << "Received subscribe for unknown participant: " << participantAddr << " for chat room: " << chatRoomId;
|
||||
|
|
@ -121,6 +117,10 @@ void LocalConferenceListEventHandler::subscribeReceived (LinphoneEvent *lev, con
|
|||
}
|
||||
device->setConferenceSubscribeEvent((subscriptionState == LinphoneSubscriptionIncomingReceived) ? lev : nullptr);
|
||||
|
||||
string notifyBody = handler->getNotifyForId(notifyId, (chatRoom->getCapabilities() & AbstractChatRoom::Capabilities::OneToOne));
|
||||
if (notifyBody.empty())
|
||||
continue;
|
||||
|
||||
noContent = false;
|
||||
Content *content = new Content();
|
||||
if (notifyId > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue