forked from mirrors/linphone-iphone
Activate body compression of INVITE used to create a client group chat room.
This commit is contained in:
parent
ca39d51bcb
commit
9c461f5fc0
1 changed files with 2 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue