From 3bafa6c0f211a1aa8d223b9ad091016440947f2e Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 1 Mar 2026 22:20:59 -0800 Subject: message notifications --- index.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'index.ts') diff --git a/index.ts b/index.ts index 362663bd..bbb6aae7 100644 --- a/index.ts +++ b/index.ts @@ -21,6 +21,7 @@ import { getFx } from "$lib/rates"; import { sendHeartbeat, websocket } from "$lib/sockets"; import { initTigerBeetle } from "$lib/tb"; import { startZmq } from "$lib/zmq"; +import { listenForDMs } from "$lib/dmNotifications"; import ecash from "$routes/ecash"; import email from "$routes/email"; @@ -56,6 +57,7 @@ try { } setTimeout(listenForLightning, 2000); +listenForDMs(); setInterval(sendHeartbeat, 2000); app.get("/balances", info.balances); -- cgit v1.2.3