- }
- else if((pReqInfo->msgInfo.msgType.subType == MSG_SENDREQ_MMS) || (pReqInfo->msgInfo.msgType.subType == MSG_FORWARD_MMS))
- {
- // update address list in the ase of existing message
- if(pReqInfo->msgInfo.msgId > 0)
- {
- err = MsgStoGetOrgAddressList(&(pReqInfo->msgInfo));
-
- if(err != MSG_SUCCESS)
- MSG_DEBUG("[WARNING]MsgStoGetOrgAddressList returned not a MSG_SUCCESS");
- }
-
- if(pReqInfo->msgInfo.msgId > 0 && (pReqInfo->msgInfo.folderId == MSG_DRAFT_ID || pReqInfo->msgInfo.folderId == MSG_OUTBOX_ID)) {
- MSG_ADDRESS_INFO_S addrInfo = {0,};
- int addrIdx = 0;
-
- err = MsgStoGetAddrInfo(pReqInfo->msgInfo.msgId, &addrInfo);
-
- if (err == MSG_SUCCESS) {
- for (int i = 0; i < pReqInfo->msgInfo.nAddressCnt; i++) {
- //if (pReqInfo->msgInfo.addressList[i].threadId == addrInfo.threadId) {
- if (!strcmp(pReqInfo->msgInfo.addressList[i].addressVal, addrInfo.addressVal)) {
- addrIdx = i;
- MSG_DEBUG("addrIdx = %d, address = [%s]", addrIdx, pReqInfo->msgInfo.addressList[i].addressVal);
- break;
- }
- }
- } else {
- MSG_DEBUG("[Error]MsgStoGetAddrInfo is failed");
- }
+ } else if ((pReqInfo->msgInfo.msgType.subType == MSG_SENDREQ_MMS) || (pReqInfo->msgInfo.msgType.subType == MSG_FORWARD_MMS)) {
+ MSG_SEC_DEBUG("msgdata file path = [%s]", pReqInfo->msgInfo.msgData);