// This program is open source software. Use, duplication, or disclosure
// are subject to the terms of the GNU General Public License version 3.
// This program is open source software. Use, duplication, or disclosure
// are subject to the terms of the GNU General Public License version 3.
#include "../../room_ops.h"
#include "../../euidindex.h"
#include "../../default_timezone.h"
#include "../../config.h"
#include "../../room_ops.h"
#include "../../euidindex.h"
#include "../../default_timezone.h"
#include "../../config.h"
// Utility function to create a new VCALENDAR component with some of the
// required fields already set the way we like them.
// Utility function to create a new VCALENDAR component with some of the
// required fields already set the way we like them.
if (p) {
const char *tzid = icalproperty_get_tzid(p);
if (!icalcomponent_get_timezone(encaps, tzid)) {
if (p) {
const char *tzid = icalproperty_get_tzid(p);
if (!icalcomponent_get_timezone(encaps, tzid)) {