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

Function recordThreadInconsistency

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

Source from the content-addressed store, hash-verified

194}
195
196async function recordThreadInconsistency(
197 viewer: Viewer,
198 response: ThreadInconsistencyClientResponse,
199): Promise<void> {
200 const { type, ...rest } = response;
201 const reportCreationRequest = ({
202 ...rest,
203 type: reportTypes.THREAD_INCONSISTENCY,
204 }: ThreadInconsistencyReportCreationRequest);
205 await createReport(viewer, reportCreationRequest);
206}
207
208async function recordEntryInconsistency(
209 viewer: Viewer,

Callers 1

processClientResponsesFunction · 0.85

Calls 1

createReportFunction · 0.85

Tested by

no test coverage detected