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

This commit is contained in:
Ghislain MARY 2018-04-25 11:30:08 +02:00
parent ca39d51bcb
commit 9c461f5fc0

View file

@ -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);