1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 12:44:42 +00:00

Revert "Optimization"

This reverts commit b74da489a4.
This commit is contained in:
M66B 2023-10-26 12:51:03 +02:00
parent f1fba422ad
commit 63f1b377d9

View file

@ -4470,17 +4470,13 @@ public class MessageHelper {
String recipient = ((InternetAddress) address).getAddress();
if (!TextUtils.isEmpty(email) && email.equalsIgnoreCase(recipient)) {
ParticipationStatus pstatus = attendee.getParticipationStatus();
if (ParticipationStatus.ACCEPTED.equals(pstatus)) {
if (ParticipationStatus.ACCEPTED.equals(pstatus))
status = CalendarContract.Events.STATUS_CONFIRMED;
break;
} else if (ParticipationStatus.DECLINED.equals(pstatus)) {
else if (ParticipationStatus.DECLINED.equals(pstatus))
status = CalendarContract.Events.STATUS_CANCELED;
break;
}
break;
}
}
if (status != CalendarContract.Events.STATUS_TENTATIVE)
break;
}
}