fix: Send empty forward msg

This commit is contained in:
linyuchen
2024-04-16 12:50:14 +08:00
parent 5575c3cb13
commit c1edc1b99b
7 changed files with 42 additions and 19 deletions

View File

@@ -21,7 +21,6 @@ export interface GetFileResponse {
base64?: string;
}
export class GetFileBase extends BaseAction<GetFilePayload, GetFileResponse> {
private getElement(msg: RawMessage): { id: string, element: VideoElement | FileElement } {
let element = msg.elements.find(e => e.fileElement);