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
@@ -21,6 +21,7 @@ export namespace PublishGroupFile {
|
||||
export interface Params {
|
||||
groupId: number;
|
||||
fileId: string;
|
||||
busId?: number;
|
||||
}
|
||||
export type Deps = OidbSender;
|
||||
|
||||
@@ -29,7 +30,7 @@ export namespace PublishGroupFile {
|
||||
groupUin: p.groupId,
|
||||
type: 2,
|
||||
info: {
|
||||
busiType: 102,
|
||||
busiType: p.busId ?? 102,
|
||||
fileId: p.fileId,
|
||||
field3: Math.floor(Math.random() * 0x7fffffff) >>> 0,
|
||||
field5: true,
|
||||
|
||||
Reference in new issue
Block a user