diff --git a/src/content/content-manager.cpp b/src/content/content-manager.cpp index 5d6c66139..46cc01c28 100644 --- a/src/content/content-manager.cpp +++ b/src/content/content-manager.cpp @@ -23,6 +23,8 @@ #include "content-type.h" #include "content/content.h" +#define MULTIPART_BOUNDARY "---------------------------14737809831466499882746641449" + // ============================================================================= using namespace std; diff --git a/src/content/content-type.cpp b/src/content/content-type.cpp index 93e27859c..66b22e7f9 100644 --- a/src/content/content-type.cpp +++ b/src/content/content-type.cpp @@ -45,7 +45,7 @@ const ContentType ContentType::ExternalBody("message/external-body"); const ContentType ContentType::FileTransfer("application/vnd.gsma.rcs-ft-http+xml"); const ContentType ContentType::Imdn("message/imdn+xml"); const ContentType ContentType::ImIsComposing("application/im-iscomposing+xml"); -const ContentType ContentType::Multipart("multipart/mixed;boundary=" MULTIPART_BOUNDARY); +const ContentType ContentType::Multipart("multipart/mixed"); const ContentType ContentType::PlainText("text/plain"); const ContentType ContentType::ResourceLists("application/resource-lists+xml"); const ContentType ContentType::Sdp("application/sdp"); diff --git a/src/content/content-type.h b/src/content/content-type.h index 473b0ab80..d37168f08 100644 --- a/src/content/content-type.h +++ b/src/content/content-type.h @@ -22,9 +22,6 @@ #include "object/clonable-object.h" - -#define MULTIPART_BOUNDARY "---------------------------14737809831466499882746641449" - // ============================================================================= LINPHONE_BEGIN_NAMESPACE