mirror of
https://github.com/etesync/android
synced 2024-12-23 07:08:16 +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) {
|
for (local in localDirty) {
|
||||||
val event = local.event
|
val event = local.event
|
||||||
|
|
||||||
if (event?.attendees?.isEmpty()!!) {
|
if (event?.attendees?.isEmpty()!! || !event.organizer?.value?.replace("mailto:", "").equals(account.name)) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
createInviteAttendeesNotification(event, local.content)
|
createInviteAttendeesNotification(event, local.content)
|
||||||
|
Loading…
Reference in New Issue
Block a user