fix(chat): render cached history before network sync
This commit is contained in:
@@ -27,8 +27,8 @@ export interface ChatState {
|
||||
isLoadingMore: boolean;
|
||||
hasMore: boolean;
|
||||
historyOffset: number;
|
||||
/** history 加载完成标志(initial load —— local → network → save 跑完)
|
||||
* - guestSession.initializing / user sessions initializing 走 always barrier
|
||||
/** history 首屏可展示标志(本地快照加载完成即可进入 ready)
|
||||
* - 网络历史加载完成后会再次刷新消息列表
|
||||
* - 不被 `loadMoreHistoryActor` 设置(翻页是另一码事)
|
||||
*/
|
||||
historyLoaded: boolean;
|
||||
|
||||
Reference in New Issue
Block a user