MCPcopy Create free account
hub / github.com/CommE2E/comm / recordThreadInconsistency

Function recordThreadInconsistency

keyserver/src/socket/session-utils.js:212–222  ·  view source on GitHub ↗
(
  viewer: Viewer,
  response: ThreadInconsistencyClientResponse,
)

Source from the content-addressed store, hash-verified

210}
211
212async function recordThreadInconsistency(
213 viewer: Viewer,
214 response: ThreadInconsistencyClientResponse,
215): Promise<void> {
216 const { type, ...rest } = response;
217 const reportCreationRequest = ({
218 ...rest,
219 type: reportTypes.THREAD_INCONSISTENCY,
220 }: ThreadInconsistencyReportCreationRequest);
221 await createReport(viewer, reportCreationRequest);
222}
223
224async function recordEntryInconsistency(
225 viewer: Viewer,

Callers 1

processClientResponsesFunction · 0.85

Calls 1

createReportFunction · 0.85

Tested by

no test coverage detected