Skip to content
Snippets Groups Projects
Commit a1a9fb69 authored by Andreas Schindlbeck's avatar Andreas Schindlbeck
Browse files

Notification aus autostartNeon entfernt

parent c732e688
No related branches found
No related tags found
No related merge requests found
import("system.logging");
import("system.tools");
import("system.calendars")
import("system.notification")
......@@ -8,17 +9,11 @@ var users = ["Admin", "Birgit Leicht", "Harold Smith", "Herbert Obermeier", "Lis
calendars.setCalendarUser(users, calendars.RIGHT_READ | calendars.RIGHT_WRITE, false, calendars.SORTSTRATEGY_NATURAL);
calendars.setCheckAttendeesOnWrite(false);
//notification.addNotification(
// "",
// text.encodeMS(["Person", "1a67eaa7-21da-4a18-97ab-755ac5cb74f7"]),
// null,
// "",
// "Geburtstag",
// notification.PRIO_MAX,
// 1,
// notification.STATE_UNSEEN,
// ["_____USER_bcdfb521-c7d0-4ef1-8916-78e7d3232046"],
// "Susanne Lustig",
// "Alles Gute!");
//
var conf = notification.createConfig()
.linkInfo(text.encodeMS(["Person", "1a67eaa7-21da-4a18-97ab-755ac5cb74f7"]))
.notificationType("Geburtstag")
.daysToLive(1)
.addUserWithId("_____USER_bcdfb521-c7d0-4ef1-8916-78e7d3232046")
.caption("Susi Lustig")
.description("Alles Gute!!!?");
notification.addNotificationWith(conf);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment