sticker media fix

This commit is contained in:
Adhiraj Singh
2021-08-09 19:57:56 +05:30
parent ab58843b8a
commit f8c5394705
4 changed files with 6 additions and 4 deletions

View File

@@ -18,6 +18,8 @@ import { MediaType } from '../Types'
import { DEFAULT_ORIGIN } from '../Defaults'
export const hkdfInfoKey = (type: MediaType) => {
if(type === 'sticker') type = 'image'
let hkdfInfo = type[0].toUpperCase() + type.slice(1)
return `WhatsApp ${hkdfInfo} Keys`
}