This is one way to notify about new mail
[citadel.git] / webcit-ng / static / js / defs.js
index 737218a326d2e8d87b0301203f5be45f2eb38b76..ca896793c65d089c85e19126f14fd5fa2ccea87d 100644 (file)
@@ -41,3 +41,6 @@ var views = {
        VIEW_QUEUE              : 11,   // SMTP queue rooms
        VIEW_WIKIMD             : 12,   // markdown wiki (no longer implemented)
 };
+
+// new mail sound (we'll make it selectable later)
+const new_mail_sound = new Audio("/ctdl/s/sounds/hi_from_stu.wav");