Fix: If phone supports content type */* then it accepts even presentations -- thanks to Mathias Hofmann
This commit is contained in:
parent
c93a5ca1bb
commit
472b5fb4b1
|
@ -746,7 +746,7 @@ static int modify_msg(MIMEEntity *msg, MmsUaProfile *prof)
|
|||
if (sflag ||
|
||||
(!startp &&
|
||||
octstr_case_compare(content_type, octstr_imm("multipart/related")) == 0) ||
|
||||
!prof->ccppaccept.presentation) {
|
||||
!(prof->ccppaccept.presentation || prof->ccppaccept.all)) {
|
||||
/* MMS conformance guide says: If presentation part is removed or unsupported,
|
||||
* then change content type to multipart/mixed
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue