Skip to content

Commit a3a4e60

Browse files
committed
oxcical: export VTODO/VJOURNAL as a subordinate of VCALENDAR
Fixes: gromox-1.32-25-g0b51d1ca7
1 parent 504de82 commit a3a4e60

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/mapi/oxcical.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3700,13 +3700,11 @@ static std::string oxcical_export_internal(const char *method, const char *tzid,
37003700
partstat = "NEEDS-ACTION";
37013701
} else if (class_match_prefix(str, "IPM.Task") == 0) {
37023702
method = "";
3703-
icaltype = nullptr;
3704-
pical.m_name = "VTODO";
3703+
icaltype = "VTODO";
37053704
is_task = true;
37063705
} else if (class_match_prefix(str, "IPM.Activity") == 0) {
37073706
method = "";
3708-
icaltype = nullptr;
3709-
pical.m_name = "VJOURNAL";
3707+
icaltype = "VJOURNAL";
37103708
} else {
37113709
return fmt::format("W-2060: oxcical_export does not handle message class \"{}\"", str);
37123710
}

0 commit comments

Comments
 (0)