mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-25 23:28:09 +00:00
add ; to separate subtype & parameter
This commit is contained in:
parent
12fb92ec0b
commit
b1f8a45327
1 changed files with 1 additions and 1 deletions
|
|
@ -228,7 +228,7 @@ const string &Content::getHeaderValue (const string &headerName) const {
|
|||
LinphoneContent *Content::toLinphoneContent () const {
|
||||
LinphoneContent *content = linphone_core_create_content(nullptr);
|
||||
linphone_content_set_type(content, getContentType().getType().c_str());
|
||||
string subtype = getContentType().getSubType() + getContentType().getParameter();
|
||||
string subtype = getContentType().getSubType() + ";" + getContentType().getParameter();
|
||||
linphone_content_set_subtype(content, subtype.c_str());
|
||||
linphone_content_set_buffer(content, (const uint8_t *)getBodyAsUtf8String().c_str(), getBodyAsUtf8String().size());
|
||||
return content;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue