Skip to content

Commit

Permalink
(fix) properly save email alarms in the db (fixes #3949)
Browse files Browse the repository at this point in the history
  • Loading branch information
extrafu committed Dec 30, 2016
1 parent f6bcf26 commit 479b534
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS
Expand Up @@ -17,6 +17,7 @@ Bug fixes
- [core] use source's domain when none defined and trying to match users (#3523)
- [core] handle delegation with no SENT-BY set (#3368)
- [core] properly honor the "include in freebusy" setting (#3354)
- [core] properly save next email alarm in the database (#3949)
- [web] fixed confusion between owner and active user in ACLs management of Administration module
- [web] fixed JavaScript exception after renaming an address book
- [web] fixed Sieve folder encoding support (#3904)
Expand Down
2 changes: 1 addition & 1 deletion SoObjects/Appointments/iCalEntityObject+SOGo.m
Expand Up @@ -861,7 +861,7 @@ - (void) updateNextAlarmDateInRow: (NSMutableDictionary *) row
[row setObject: [NSNumber numberWithInt: 0] forKey: @"c_nextalarm"];

// Delete old email alarms
if (alarm_number >= 0)
if (!nextAlarmDate && alarm_number >= 0)
[af deleteRecordForEntryWithCName: nameInContainer
inCalendarAtPath: [theContainer ocsPath]];
}
Expand Down

0 comments on commit 479b534

Please sign in to comment.