Commit e8dc7bf0 authored by Ghislain MARY's avatar Ghislain MARY

Fix removal of gr parameter when sending INVITE for client group chat room creation.

parent 7832def9
...@@ -65,7 +65,7 @@ shared_ptr<CallSession> ClientGroupChatRoomPrivate::createSession () { ...@@ -65,7 +65,7 @@ shared_ptr<CallSession> ClientGroupChatRoomPrivate::createSession () {
shared_ptr<CallSession> session = focus->getPrivate()->createSession(*q, &csp, false, callSessionListener); shared_ptr<CallSession> session = focus->getPrivate()->createSession(*q, &csp, false, callSessionListener);
const Address &myAddress = q->getMe()->getAddress(); const Address &myAddress = q->getMe()->getAddress();
Address myCleanedAddress(myAddress); Address myCleanedAddress(myAddress);
myCleanedAddress.setUriParam("gr"); // Remove gr parameter for INVITE myCleanedAddress.removeUriParam("gr"); // Remove gr parameter for INVITE
session->configure(LinphoneCallOutgoing, nullptr, nullptr, myCleanedAddress, focus->getPrivate()->getDevices().front()->getAddress()); session->configure(LinphoneCallOutgoing, nullptr, nullptr, myCleanedAddress, focus->getPrivate()->getDevices().front()->getAddress());
session->initiateOutgoing(); session->initiateOutgoing();
return session; return session;
......
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