feat: add more logging to media

This commit is contained in:
Adhiraj Singh
2021-12-19 14:35:51 +05:30
parent 2696af4da1
commit 9d7aec11da
4 changed files with 34 additions and 15 deletions

View File

@@ -451,13 +451,13 @@ export const makeMessagesSocket = (config: SocketConfig) => {
jid,
content,
{
...options,
logger,
userJid,
// multi-device does not have this yet
//getUrlInfo: generateUrlInfo,
upload: waUploadToServer,
mediaCache: config.mediaCache,
...options,
}
)
const isDeleteMsg = 'delete' in content && !!content.delete