Add ANDROID_SECURITY_PLAN.md to project
This commit is contained in:
+3
-1
@@ -5,7 +5,7 @@ function registerDavIpcHandlers({
|
||||
davPublicConfig,
|
||||
openDavClient,
|
||||
activeDavConfig,
|
||||
ICAL,
|
||||
getICAL,
|
||||
makeCalendarData,
|
||||
makeVcard,
|
||||
randomUUID,
|
||||
@@ -88,6 +88,7 @@ function registerDavIpcHandlers({
|
||||
if (!config) throw new Error(`Connect a ${type === 'caldav' ? 'CalDAV' : 'CardDAV'} server first.`);
|
||||
const client = await openDavClient(config, type);
|
||||
if (type === 'caldav') {
|
||||
const { default: ICAL } = await getICAL();
|
||||
const calendars = await client.fetchCalendars();
|
||||
const result = [];
|
||||
for (const calendar of calendars) {
|
||||
@@ -116,6 +117,7 @@ function registerDavIpcHandlers({
|
||||
}
|
||||
return { items: result, account: davPublicConfig(config) };
|
||||
}
|
||||
const { default: ICAL } = await getICAL();
|
||||
const books = await client.fetchAddressBooks();
|
||||
const result = [];
|
||||
for (const book of books) {
|
||||
|
||||
Reference in New Issue
Block a user