feat(feature/group-invite-v4): initial/final commit (#958)

This commit is contained in:
Rajeh Taher
2024-08-14 12:10:37 +03:00
committed by GitHub
parent 020add8b9b
commit 7c9f2ebd46
4 changed files with 48 additions and 1 deletions

View File

@@ -608,6 +608,8 @@ export const makeMessagesSocket = (config: SocketConfig) => {
return 'product'
} else if(message.interactiveResponseMessage) {
return 'native_flow_response'
} else if(message.groupInviteMessage) {
return 'url'
}
}
@@ -746,6 +748,8 @@ export const makeMessagesSocket = (config: SocketConfig) => {
: undefined
},
),
//TODO: CACHE
getProfilePicUrl: sock.profilePictureUrl,
upload: waUploadToServer,
mediaCache: config.mediaCache,
options: config.options,