Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
e3c0eeef
Commit
e3c0eeef
authored
Sep 18, 2018
by
Ghislain MARY
Browse files
Include One-To-One-Chat-Room header when inviting devices from a ServerGroupChatRoom.
parent
21236d83
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/chat/chat-room/server-group-chat-room.cpp
View file @
e3c0eeef
...
...
@@ -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
());
device
->
setSession
(
session
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment