From 9c461f5fc08b1a067d551c19a3b4fea2b86e173f Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Wed, 25 Apr 2018 11:30:08 +0200 Subject: [PATCH] Activate body compression of INVITE used to create a client group chat room. --- src/chat/chat-room/client-group-chat-room.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/chat/chat-room/client-group-chat-room.cpp b/src/chat/chat-room/client-group-chat-room.cpp index c36022e94..1c21542f6 100644 --- a/src/chat/chat-room/client-group-chat-room.cpp +++ b/src/chat/chat-room/client-group-chat-room.cpp @@ -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); -- 2.21.0