Removed timezone mapping

This commit is contained in:
M66B
2023-10-27 17:26:58 +02:00
parent 97a7dbfb56
commit 4f87b4a1ff
7 changed files with 22 additions and 295 deletions

View File

@@ -74,7 +74,6 @@ import javax.mail.Session;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
import biweekly.Biweekly;
import biweekly.ICalendar;
import biweekly.component.VEvent;
import biweekly.property.Method;
@@ -962,7 +961,7 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
if ("text/calendar".equals(attachment.type))
try {
File ics = attachment.getFile(this);
ICalendar icalendar = Biweekly.parse(ics).first();
ICalendar icalendar = CalendarHelper.parse(ServiceSend.this, ics);
Method method = icalendar.getMethod();
if (method == null || !method.isReply())