Append new attendee on iTip Replies + consider sequence numbers
This commit is contained in:
parent
387db8ea1a
commit
2775d7091e
1 changed files with 2 additions and 2 deletions
|
@ -2132,8 +2132,8 @@ class calendar extends rcube_plugin
|
||||||
$success = $this->driver->edit_event($existing);
|
$success = $this->driver->edit_event($existing);
|
||||||
}
|
}
|
||||||
// update the entire attendees block
|
// update the entire attendees block
|
||||||
else if ($event['changed'] >= $existing['changed'] && $event['attendees']) {
|
else if (($event['sequence'] >= $existing['sequence'] || $event['changed'] >= $existing['changed']) && $event_attendee) {
|
||||||
$existing['attendees'] = $event['attendees'];
|
$existing['attendees'][] = $event_attendee;
|
||||||
$success = $this->driver->edit_event($existing);
|
$success = $this->driver->edit_event($existing);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue