MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / addReactionToThreads

Function addReactionToThreads

apps/web/ui/ChannelView/index.tsx:435–443  ·  view source on GitHub ↗
(threads: SerializedThread[])

Source from the content-addressed store, hash-verified

433 active: boolean;
434 }) {
435 function addReactionToThreads(threads: SerializedThread[]) {
436 return addReaction(threads, {
437 threadId,
438 messageId,
439 type,
440 active,
441 currentUser,
442 });
443 }
444 setThreads(addReactionToThreads);
445 setPinnedThreads(addReactionToThreads);
446 api.postReaction({

Callers

nothing calls this directly

Calls 1

addReactionFunction · 0.90

Tested by

no test coverage detected