82
92
var attachment = attachments[i]
83
93
if (startsWith(attachment.contentType, "text/plain") ) {
84
94
root.textAttachements.push(attachment)
85
100
} else if (startsWith(attachment.contentType, "image/")) {
86
101
root.dataAttachments.push({"type": "image",
88
103
"delegateSource": "MMS/MMSImage.qml",
96
105
} else if (startsWith(attachment.contentType, "application/smil") ||
97
106
startsWith(attachment.contentType, "application/x-smil")) {
98
107
// smil files will always be ignored here