parent
4d09a4b60c
commit
8b656c2caf
1 changed files with 1 additions and 0 deletions
|
|
@ -50,6 +50,7 @@ exports.LoadUtils = () => {
|
||||||
let attOptions = {};
|
let attOptions = {};
|
||||||
if (options.attachment) {
|
if (options.attachment) {
|
||||||
attOptions = await window.WWebJS.processMediaData(options.attachment, options.sendAudioAsVoice);
|
attOptions = await window.WWebJS.processMediaData(options.attachment, options.sendAudioAsVoice);
|
||||||
|
content = attOptions.preview;
|
||||||
delete options.attachment;
|
delete options.attachment;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue