mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-19 14:25:21 +00:00
Improved previous commit. We now use the start date instead of the end date.
This commit is contained in:
1 parent
3a8226c110
commit
7154588b24
1 file changed
+1
-1
@@ -744,7 +744,7 @@ _userStateInEvent (NSArray *event)
|
||||
// We add 5 mins to the end date of an event if the end date
|
||||
// is equal or smaller than the event's start date.
|
||||
if (eventEnd <= currentStart)
|
||||
computedEventEnd += (5*60);
|
||||
computedEventEnd = currentStart + (5*60);
|
||||
|
||||
eventBlock = [self _eventBlockWithStart: currentStart
|
||||
end: computedEventEnd
|
||||
|
||||
Reference in new issue
Block a user