This is to support the new Calendar List view without destroying the server behavior
for Calendar rooms.
struct icalmessagemod imm;
/* First determine if this is a calendar or tasks room */
- if ( (CC->curr_view != VIEW_CALENDAR)
- &&(CC->curr_view != VIEW_TASKS) ) {
+ if ( (CC->room.QRdefaultview != VIEW_CALENDAR)
+ &&(CC->room.QRdefaultview != VIEW_TASKS) ) {
return(0); /* Not a vCalendar-centric room */
}
/* First determine if this room has the "notes" view set */
- if (CC->curr_view != VIEW_NOTES) {
+ if (CC->room.QRdefaultview != VIEW_NOTES) {
return(0); /* not notes; do nothing */
}
}
/* Is this a room with an address book in it? */
- if (CC->curr_view == VIEW_ADDRESSBOOK) {
+ if (CC->room.QRdefaultview == VIEW_ADDRESSBOOK) {
yes_any_vcard_room = 1;
}