Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblinphone
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
10
Issues
10
List
Board
Labels
Milestones
Merge Requests
24
Merge Requests
24
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BC
public
liblinphone
Commits
9c461f5f
Commit
9c461f5f
authored
Apr 25, 2018
by
Ghislain MARY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Activate body compression of INVITE used to create a client group chat room.
parent
ca39d51b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
client-group-chat-room.cpp
src/chat/chat-room/client-group-chat-room.cpp
+2
-4
No files found.
src/chat/chat-room/client-group-chat-room.cpp
View file @
9c461f5f
...
...
@@ -378,10 +378,8 @@ void ClientGroupChatRoom::addParticipants (
content
.
setBody
(
getResourceLists
(
addressesList
));
content
.
setContentType
(
ContentType
::
ResourceLists
);
content
.
setContentDisposition
(
ContentDisposition
::
RecipientList
);
// TODO: Activate compression
//if (linphone_core_content_encoding_supported(getCore()->getCCore(), "deflate"))
// content.setContentEncoding("deflate");
// TODO: Activate compression
if
(
linphone_core_content_encoding_supported
(
getCore
()
->
getCCore
(),
"deflate"
))
content
.
setContentEncoding
(
"deflate"
);
auto
session
=
d
->
createSession
();
session
->
startInvite
(
nullptr
,
getSubject
(),
&
content
);
...
...
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