MCPcopy Create free account
hub / github.com/block/buzz / setMockPresenceStatus

Function setMockPresenceStatus

desktop/src/testing/e2eBridge.ts:2742–2744  ·  view source on GitHub ↗
(pubkey: string, status: PresenceStatus)

Source from the content-addressed store, hash-verified

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

Callers 1

sendToMockSocketFunction · 0.85

Calls 1

setMethod · 0.80

Tested by

no test coverage detected