fix(core): copy album feed locator into comment header

DoQunComment still came back 10016 after the owner-uin fix because the
write header only sent time + short feed id. Official cell_common also
carries the 421 locator; copy that cell, and synthesize it if omitted.

Fixes #436
This commit is contained in:
DrSmoothl committed 2026-09-17 23:56:07 +08:00
1 parent 23ebee7f20
commit 2a515c165c
3 files changed
+93 -15

No files matched your search

@@ -160,8 +160,13 @@ export interface CommentReqPhotoInfo {
batchId?: pb<5, uint_64>;
}
export interface CommentReqBodyHeader {
// Official feed cell_common: type 422, time, short feed id, composite
// 421_1_0 locator, and field 6 = 3. DoQunComment copies this cell.
type?: pb<1, uint_32>;
time?: pb<3, uint_64>;
feedId?: pb<4, string>;
cellId?: pb<5, string>;
field6?: pb<6, uint_32>;
}
export interface CommentReqBodyUserWrap {
field1?: pb<1, CommentUser>;
@@ -281,8 +286,11 @@ export interface GetQunFeedDetailRequest {
extMap?: pb_repeated<10, ExtMapEntry>;
}
export interface QunFeedCellCommon {
type?: pb<1, uint_32>;
time?: pb<3, uint_64>;
feedId?: pb<4, string>;
cellId?: pb<5, string>;
field6?: pb<6, uint_32>;
}
export interface QunFeedCellUser {
uin?: pb<13, string>;