Commit e3c0eeef authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Include One-To-One-Chat-Room header when inviting devices from a ServerGroupChatRoom.

parent 21236d83
......@@ -627,6 +627,8 @@ void ServerGroupChatRoomPrivate::inviteDevice (const shared_ptr<ParticipantDevic
|| (session->getState() == CallSession::State::Released)
) {
CallSessionParams csp;
if (capabilities & ServerGroupChatRoom::Capabilities::OneToOne)
csp.addCustomHeader("One-To-One-Chat-Room", "true");
session = participant->getPrivate()->createSession(*q, &csp, false, this);
session->configure(LinphoneCallOutgoing, nullptr, nullptr, qConference->getPrivate()->conferenceAddress, device->getAddress());
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment