mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
feat: add bulk "process" capability to BaileysBufferableEventEmitter
This commit is contained in:
@@ -155,6 +155,8 @@ export const makeGroupsSocket = (config: SocketConfig) => {
|
||||
admin: key.remoteJid!
|
||||
}
|
||||
}])
|
||||
|
||||
const started = ev.buffer()
|
||||
// if we have the full message key
|
||||
// update the invite message to be expired
|
||||
if(key.id) {
|
||||
@@ -193,6 +195,10 @@ export const makeGroupsSocket = (config: SocketConfig) => {
|
||||
'notify'
|
||||
)
|
||||
|
||||
if(started) {
|
||||
await ev.flush()
|
||||
}
|
||||
|
||||
return results.attrs.from
|
||||
},
|
||||
groupGetInviteInfo: async(code: string) => {
|
||||
|
||||
Reference in New Issue
Block a user