mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
fix: emit messages.update on successful reupload
This commit is contained in:
@@ -501,6 +501,10 @@ export const makeMessagesSocket = (config: SocketConfig) => {
|
|||||||
throw error
|
throw error
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ev.emit('messages.update', [
|
||||||
|
{ key: message.key, update: { message: message.message } }
|
||||||
|
])
|
||||||
|
|
||||||
return message
|
return message
|
||||||
},
|
},
|
||||||
sendMessage: async(
|
sendMessage: async(
|
||||||
|
|||||||
Reference in New Issue
Block a user