(pubkey: string, status: PresenceStatus)
| 2740 | } |
| 2741 | |
| 2742 | function setMockPresenceStatus(pubkey: string, status: PresenceStatus) { |
| 2743 | mockPresence.set(pubkey.toLowerCase(), status); |
| 2744 | } |
| 2745 | |
| 2746 | function resolveHandler(handler: unknown): WsHandler { |
| 2747 | if (typeof handler === "function") { |