mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
audio tests
This commit is contained in:
@@ -150,7 +150,7 @@ export class WAConnection extends Base {
|
||||
if (options.contextInfo) message[key].contextInfo = options.contextInfo
|
||||
|
||||
if (quoted) {
|
||||
const participant = quoted.key.fromMe ? this.user.jid : (quoted.key.participant || quoted.key.remoteJid)
|
||||
const participant = quoted.key.fromMe ? this.user.jid : (quoted.participant || quoted.key.participant || quoted.key.remoteJid)
|
||||
|
||||
message[key].contextInfo = message[key].contextInfo || { }
|
||||
message[key].contextInfo.participant = participant
|
||||
|
||||
@@ -265,6 +265,7 @@ export enum Mimetype {
|
||||
gif = 'video/gif',
|
||||
pdf = 'application/pdf',
|
||||
ogg = 'audio/ogg; codecs=opus',
|
||||
mp4Audio = 'audio/mp4',
|
||||
/** for stickers */
|
||||
webp = 'image/webp',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user