(threadState)
| 13 | onBeforeCleanupThread = null |
| 14 | }) { |
| 15 | const resetThreadUiState = (threadState) => { |
| 16 | if (!threadState) return |
| 17 | threadState.replyLoadingVisible = false |
| 18 | threadState.pendingRequestId = null |
| 19 | } |
| 20 | |
| 21 | const getThreadState = (threadId) => { |
| 22 | if (!threadId) return null |