mirror of
https://github.com/etesync/android
synced 2024-11-15 20:38:58 +00:00
Event invitations: only send invitations for events we created locally.
This commit is contained in:
parent
97d28a8be8
commit
06c511eb67
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user