mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-23 19:04:18 +00:00
Monotone-Parent: 0dc509f442891adef0778315e5f3971fb4576203
Monotone-Revision: dd017bbdddea8d5340182a7bc5439bfd1c8fd312 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-04-16T21:45:19 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
2010-04-16 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/Appointments/SOGoCalendarComponent.m
|
||||
(-lookupOccurence:): the looked up occurrence might be the master
|
||||
event.
|
||||
|
||||
* UI/WebServerResources/UIxMailPopupView.js (initPopupMailer): we
|
||||
assign window.messageUID from here now (by concatenating
|
||||
"mailboxName" and "messageName", as it will disappear if the
|
||||
|
||||
@@ -257,7 +257,8 @@
|
||||
return iCalString;
|
||||
}
|
||||
|
||||
static inline BOOL _occurenceHasID (iCalRepeatableEntityObject *occurence, NSString *recID)
|
||||
static inline BOOL _occurenceHasID (iCalRepeatableEntityObject *occurence,
|
||||
NSString *recID)
|
||||
{
|
||||
unsigned int seconds, recSeconds;
|
||||
|
||||
@@ -290,6 +291,9 @@ static inline BOOL _occurenceHasID (iCalRepeatableEntityObject *occurence, NSStr
|
||||
count++;
|
||||
}
|
||||
}
|
||||
else if (_occurenceHasID (component, recID))
|
||||
/* The "master" event could be that occurrence. */
|
||||
occurence = component;
|
||||
|
||||
return occurence;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user