Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/experdot/pointer
/ findTopicByStartMessageId
Function
findTopicByStartMessageId
src/renderer/src/services/messagesService.ts:527–529 ·
view source on GitHub ↗
(topics: Topic[], messageId: string)
Source
from the content-addressed store, hash-verified
525
* 用于判断消息是否是某个 Topic 的起始消息
526
*/
527
export
function
findTopicByStartMessageId(topics: Topic[], messageId: string): Topic | undefined {
528
return
topics.find((t) => t.startMessageId === messageId)
529
}
Callers
1
MessageList.tsx
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected