0
0
mirror of https://github.com/etesync/android.git synced 2024-09-20 04:42:28 +02:00

Event invitations: only send invitations for events we created locally.

This commit is contained in:
Tom Hacohen 2020-11-02 09:13:24 +02:00
parent 97d28a8be8
commit 06c511eb67

View File

@ -147,7 +147,7 @@ constructor(context: Context, account: Account, settings: AccountSettings, extra
for (local in localDirty) {
val event = local.event
if (event?.attendees?.isEmpty()!!) {
if (event?.attendees?.isEmpty()!! || !event.organizer?.value?.replace("mailto:", "").equals(account.name)) {
return
}
createInviteAttendeesNotification(event, local.content)