fix(protocol): resolve animation metadata for unlisted faces

Query missing system faces individually and validate their metadata before sending. Share concurrent lookups and surface lookup failures.

Fixes #488
This commit is contained in:
DrSmoothl committed 2026-10-04 12:53:48 +08:00
1 parent cf2587a58b
commit efb32ed069
5 files changed
+144 -13

No files matched your search

@@ -1,6 +1,6 @@
// 0x9154_1 — QQ system face / emoji catalog protobuf shapes.
import type { pb, pb_repeated, int_32 } from '@snowluma/proton';
import type { pb, pb_repeated, int_32, bool } from '@snowluma/proton';
export interface OidbFaceResourceUrl {
baseUrl?: pb<1, string>;
@@ -49,3 +49,12 @@ export interface OidbFetchSysFacesResp {
specialBigFace?: pb<3, OidbFaceContent>;
specialMagicFace?: pb<4, OidbFaceContent>;
}
export interface OidbFetchSysFaceReq {
qSid?: pb<1, string>;
}
export interface OidbFetchSysFaceResp {
emoji?: pb<1, OidbFaceEmoji>;
field2?: pb<2, bool>;
}