1
0
Fork 0

Fix: If phone supports content type */* then it accepts even presentations -- thanks to Mathias Hofmann

This commit is contained in:
bagyenda 2005-07-14 07:07:24 +00:00
parent c93a5ca1bb
commit 472b5fb4b1
1 changed files with 1 additions and 1 deletions

View File

@ -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
*/