Notif
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
// coms/client/public/data.js
|
||||
// Data module: holds the in‐memory threads, notices and reply state
|
||||
|
||||
import { notifyNotice } from "./notifications.js";
|
||||
|
||||
// Map of all messages and notices by ID (string IDs)
|
||||
// Client’s own session ID
|
||||
let myId = null;
|
||||
@@ -139,6 +141,7 @@ function addNotice(content) {
|
||||
children: [],
|
||||
});
|
||||
rootIds.push(id);
|
||||
notifyNotice(content);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user