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:
@@ -163,7 +163,7 @@ export const useKefuChatStore = create<KefuChatStore>((set, get) => {
|
||||
return
|
||||
}
|
||||
const payload = event.data ?? event.payload
|
||||
if (event.type === "resync.required") {
|
||||
if (event.type === "resyncRequired") {
|
||||
void get().refreshMessages()
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user