(threads: SerializedThread[])
| 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({ |
nothing calls this directly
no test coverage detected