feat: add notifs onto friends ws temporarily

This commit is contained in:
Calum H. (IMB11)
2026-06-02 19:14:33 +01:00
parent 940a796ba5
commit e7c7966f77
9 changed files with 216 additions and 22 deletions
+4
View File
@@ -98,6 +98,10 @@ export async function friend_listener(callback) {
return await listen('friend', (event) => callback(event.payload))
}
export async function notification_listener(callback) {
return await listen('notification', (event) => callback(event.payload))
}
/// Payload for the 'log' event
/*
LogPayload {