mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
fix: map eph duration on legacy group metadata
This commit is contained in:
@@ -58,7 +58,8 @@ const makeGroupsSocket = (config: LegacySocketConfig) => {
|
||||
id: jidNormalizedUser(p.id),
|
||||
admin: p.isSuperAdmin ? 'super-admin' : p.isAdmin ? 'admin' : undefined
|
||||
})
|
||||
)
|
||||
),
|
||||
ephemeralDuration: metadata.ephemeralDuration
|
||||
}
|
||||
|
||||
return meta
|
||||
|
||||
Reference in New Issue
Block a user