Revert "Calendar: process REPLY"

This reverts commit 73c7a849f6.
pull/210/head
M66B 2 years ago
parent 73c7a849f6
commit 5b7aa12ea1

@ -3923,7 +3923,7 @@ public class MessageHelper {
if (method.isRequest() || method.isCancel()) if (method.isRequest() || method.isCancel())
CalendarHelper.delete(context, event, message); CalendarHelper.delete(context, event, message);
if (method.isRequest() || method.isReply()) { if (method.isRequest()) {
String selectedAccount; String selectedAccount;
String selectedName; String selectedName;
try { try {
@ -3936,11 +3936,8 @@ public class MessageHelper {
selectedName = null; selectedName = null;
} }
if (method.isRequest()) CalendarHelper.insert(context, icalendar, event,
CalendarHelper.insert(context, icalendar, event, selectedAccount, selectedName, message);
selectedAccount, selectedName, message);
else
CalendarHelper.update(context, event, message);
} }
} catch (Throwable ex) { } catch (Throwable ex) {
Log.w(ex); Log.w(ex);

Loading…
Cancel
Save