mirror of
https://git.boos.lat/aibo/BossChat.git
synced 2026-10-30 15:16:11 +00:00
refactor: standardize event type naming for resync handling
This commit is contained in:
@@ -88,7 +88,7 @@ export function useAgentConversationRealtime() {
|
||||
}
|
||||
|
||||
const store = useAgentConversationsStore.getState()
|
||||
if (eventType === "resync.required") {
|
||||
if (eventType === "resyncRequired") {
|
||||
void store.resyncRealtimeData(conversationId).catch((error) => {
|
||||
toast.error(error instanceof Error ? error.message : "同步会话数据失败")
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user