fix(core): preserve private history paging failures

Split larger private history reads into bounded pages and honor the end of history. Surface rejected or stalled pages instead of returning misleading empty or partial results.

Fixes #605
This commit is contained in:
DrSmoothl committed 2026-10-31 18:28:05 +08:00
1 parent 26639ffef7
commit 304f3e772f
5 files changed
+104 -9

No files matched your search

+3
View File
@@ -33,7 +33,10 @@ export interface SsoGetRoamMsg {
}
export interface SsoGetRoamMsgResponse {
result?: pb<1, uint_32>;
errorMessage?: pb<2, string>;
friendUid?: pb<3, string>;
isComplete?: pb<4, bool>;
timestamp?: pb<5, uint_32>;
random?: pb<6, uint_32>;
messages?: pb_repeated<7, PushMsgBody>;