feat(protocol): resolve album video ids before delete
Deleting a group album video now looks up the matching item and uses the identifier the server expects, instead of sending the video id as a photo id.
This commit is contained in:
3 files changed
+196
-2
No files matched your search
@@ -278,7 +278,10 @@ export interface DoQunLikeResponse {
|
||||
export interface DeleteMediasReqBody {
|
||||
groupId?: pb<1, string>;
|
||||
albumId?: pb<2, string>;
|
||||
lloc?: pb<3, string>;
|
||||
// deleteMedias 4th arg: photo lloc, or a video's cover lloc.
|
||||
mediaIds?: pb_repeated<3, string>;
|
||||
// deleteMedias 5th arg: matching batch ids. Android always sends these.
|
||||
batchIds?: pb_repeated<4, string>;
|
||||
}
|
||||
export interface DeleteMediasRequest {
|
||||
field1?: pb<1, int_32>;
|
||||
|
||||
Reference in new issue
Block a user