fix(core): write album comments as the feed owner
DoQunComment still returned 10016 after the feed lookup because we stamped the bot onto StFeed.cellUserInfo. Official FeedWorker copies the feed owner's uin there and only puts the bot on StComment. Fixes #436
This commit is contained in:
3 files changed
+120
-18
No files matched your search
@@ -179,8 +179,8 @@ export interface DoQunCommentRequestBody {
|
||||
}
|
||||
export interface DoQunCommentRequest {
|
||||
field1?: pb<1, int_32>;
|
||||
field2?: pb<2, bytes>;
|
||||
field3?: pb<3, bytes>;
|
||||
field2?: pb_optional<2, bytes>;
|
||||
field3?: pb_optional<3, bytes>;
|
||||
body?: pb<4, DoQunCommentRequestBody>;
|
||||
traceId?: pb<5, string>;
|
||||
extMap?: pb_repeated<10, ExtMapEntry>;
|
||||
@@ -284,8 +284,17 @@ export interface QunFeedCellCommon {
|
||||
time?: pb<3, uint_64>;
|
||||
feedId?: pb<4, string>;
|
||||
}
|
||||
export interface QunFeedCellUser {
|
||||
uin?: pb<13, string>;
|
||||
}
|
||||
export interface QunFeedCellUserInfo {
|
||||
user?: pb<1, QunFeedCellUser>;
|
||||
}
|
||||
export interface QunFeed {
|
||||
cellCommon?: pb<1, QunFeedCellCommon>;
|
||||
cellCommon?: pb<1, QunFeedCellCommon>;
|
||||
cellUserInfo?: pb<2, QunFeedCellUserInfo>;
|
||||
// FeedWorker copies this cell into DoQunComment body.4.5.
|
||||
cellMedia?: pb<5, CommentReqPhotoInfo>;
|
||||
}
|
||||
export interface QunClientFeed {
|
||||
feed?: pb<1, QunFeed>;
|
||||
|
||||
Reference in new issue
Block a user