Commit 9c461f5f authored by Ghislain MARY's avatar Ghislain MARY

Activate body compression of INVITE used to create a client group chat room.

parent ca39d51b
......@@ -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);
......
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