|
|
|
@ -1382,7 +1382,8 @@ public class MessageHelper {
|
|
|
|
|
|
|
|
|
|
for (EntityAttachment attachment : attachments)
|
|
|
|
|
if (attachment.available &&
|
|
|
|
|
"text/calendar".equals(attachment.type)) {
|
|
|
|
|
"text/calendar".equals(attachment.type))
|
|
|
|
|
try {
|
|
|
|
|
File file = attachment.getFile(context);
|
|
|
|
|
ICalendar icalendar = CalendarHelper.parse(context, file);
|
|
|
|
|
Method method = (icalendar == null ? null : icalendar.getMethod());
|
|
|
|
@ -1394,6 +1395,8 @@ public class MessageHelper {
|
|
|
|
|
" charset=UTF-8;");
|
|
|
|
|
altMultiPart.addBodyPart(calPart);
|
|
|
|
|
}
|
|
|
|
|
} catch (Throwable ex) {
|
|
|
|
|
Log.w(ex);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int availableAttachments = 0;
|
|
|
|
|