mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-19 05:38:31 +00:00
parent
73c7a849f6
commit
5b7aa12ea1
1 changed files with 3 additions and 6 deletions
|
@ -3923,7 +3923,7 @@ public class MessageHelper {
|
|||
if (method.isRequest() || method.isCancel())
|
||||
CalendarHelper.delete(context, event, message);
|
||||
|
||||
if (method.isRequest() || method.isReply()) {
|
||||
if (method.isRequest()) {
|
||||
String selectedAccount;
|
||||
String selectedName;
|
||||
try {
|
||||
|
@ -3936,11 +3936,8 @@ public class MessageHelper {
|
|||
selectedName = null;
|
||||
}
|
||||
|
||||
if (method.isRequest())
|
||||
CalendarHelper.insert(context, icalendar, event,
|
||||
selectedAccount, selectedName, message);
|
||||
else
|
||||
CalendarHelper.update(context, event, message);
|
||||
CalendarHelper.insert(context, icalendar, event,
|
||||
selectedAccount, selectedName, message);
|
||||
}
|
||||
} catch (Throwable ex) {
|
||||
Log.w(ex);
|
||||
|
|
Loading…
Reference in a new issue