MCPcopy Create free account
hub / github.com/Criptext/Criptext-Email-React-Client / acknowledgeEvents

Function acknowledgeEvents

electron_app/src/clientManager.js:192–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190};
191
192const acknowledgeEvents = async params => {
193 const { eventIds, recipientId } = params;
194 const client = await createClient({ recipientId });
195 const res = await client.acknowledgeEvents(eventIds);
196 return res.status === 200
197 ? res
198 : await checkExpiredSession(res, acknowledgeEvents, params);
199};
200
201const blockRemoteContent = async params => {
202 const { recipientId, enable } = params;

Callers

nothing calls this directly

Calls 2

createClientFunction · 0.70
checkExpiredSessionFunction · 0.70

Tested by

no test coverage detected