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:
DrSmoothl committed 2026-08-17 19:22:59 +08:00
1 parent cd6ada0caa
commit 25a40f4ab6
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>;