fix(core): restore group remarks in queries

Request and retain the group remark information needed by group list and group detail queries while preserving the existing safeguards for large rosters.

Synchronize confirmed group remark changes with the local identity roster and persistent cache. Remote failures leave local state untouched, and missing roster entries remain observable without creating phantom groups.

Add regression coverage for query mapping, request scope, persistence, failed updates, unknown groups, and closed identity stores.

Fixes #304
This commit is contained in:
DrSmoothl committed 2026-08-01 21:11:02 +08:00
1 parent 6372e1479c
commit fb4d7716a1
10 files changed
+173 -10

No files matched your search

+2 -1
View File
@@ -275,7 +275,8 @@ export interface OidbGroupListConfig1 {
export interface OidbGroupListConfig2 {
field1?: pb<1, bool>;
field2?: pb<2, bool>;
field3?: pb<3, bool>;
/** Request the bot-local label returned as group.customInfo.remark. */
remark?: pb<3, bool>;
field4?: pb<4, bool>;
field5?: pb<5, bool>;
field6?: pb<6, bool>;