1
0
Fork 0

MM7/EAIF: Force the message-id message header to whatever sent by MMSC

This commit is contained in:
bagyenda 2006-09-01 14:35:04 +00:00
parent 356905c4b6
commit 64c2ffe8ed
1 changed files with 3 additions and 1 deletions

View File

@ -343,7 +343,9 @@ static void mm7eaif_receive(MmsHTTPClientInfo *h)
/* Get Message ID */
if ((msgid = http_header_value(h->headers, octstr_imm("X-NOKIA-MMSC-Message-Id"))) == NULL)
msgid = http_header_value(mh, octstr_imm("Message-ID"));
else
mms_replace_header_value(m, "Message-ID", octstr_get_cstr(msgid)); /* replace it in the message.*/
value = http_header_value(mh, octstr_imm("X-Mms-Delivery-Report"));
if (value &&
octstr_case_compare(value, octstr_imm("Yes")) == 0)