fix(core): handle group file storage limits
Retry eligible storage failures as temporary files and preserve their storage type for later use. Reject incompatible mixed content before chat publication. Refs #644
This commit is contained in:
16 files changed
+750
-104
No files matched your search
@@ -33,6 +33,7 @@ export namespace UploadGroupFileRequest {
|
||||
fileSize: number;
|
||||
fileSha1: Uint8Array;
|
||||
fileMd5: Uint8Array;
|
||||
busId?: 102 | 104;
|
||||
}
|
||||
|
||||
export type Deps = OidbSender;
|
||||
@@ -41,7 +42,7 @@ export namespace UploadGroupFileRequest {
|
||||
file: {
|
||||
groupUin: p.groupId,
|
||||
appId: 4,
|
||||
busId: 102,
|
||||
busId: p.busId ?? 102,
|
||||
entrance: 6,
|
||||
targetDirectory: p.folderId,
|
||||
fileName: p.fileName,
|
||||
|
||||
Reference in new issue
Block a user