MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / unflagThread

Method unflagThread

server/src/addie/thread-service.ts:405–410  ·  view source on GitHub ↗

* Unflag a thread

(threadId: string)

Source from the content-addressed store, hash-verified

403 * Unflag a thread
404 */
405 async unflagThread(threadId: string): Promise<void> {
406 await query(
407 `UPDATE addie_threads SET flagged = FALSE, flag_reason = NULL, updated_at = NOW() WHERE thread_id = $1`,
408 [threadId]
409 );
410 }
411
412 /**
413 * Mark a thread's originating Slack message as deleted.

Callers 2

createAddieAdminRouterFunction · 0.80

Calls 1

queryFunction · 0.85

Tested by

no test coverage detected