Fix regression where declining an event from Calendar would send CANCEL instead of REPLY (Bifrost#T31474)
The fix for T1357 (acc49b51ff
) was broken for cases with delegation and events in other user namespace.
This commit is contained in:
parent
67e4977160
commit
c4cfe37d8c
1 changed files with 1 additions and 1 deletions
|
@ -2562,7 +2562,7 @@ function rcube_calendar_ui(settings)
|
||||||
if (_has_attendees) {
|
if (_has_attendees) {
|
||||||
var checked = (settings.itip_notify & 1 ? ' checked="checked"' : '');
|
var checked = (settings.itip_notify & 1 ? ' checked="checked"' : '');
|
||||||
|
|
||||||
if (action == 'remove' && cal.group == 'personal' && is_attendee(event)) {
|
if (action == 'remove' && cal.group != 'shared' && is_attendee(event)) {
|
||||||
decline = true;
|
decline = true;
|
||||||
checked = event.status != 'CANCELLED' ? checked : '';
|
checked = event.status != 'CANCELLED' ? checked : '';
|
||||||
html += '<div class="message">' +
|
html += '<div class="message">' +
|
||||||
|
|
Loading…
Add table
Reference in a new issue