@blurose/baileys 1.1.12 → 1.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/Utils/messages.js +0 -3
- package/package.json +1 -1
package/lib/Utils/messages.js
CHANGED
|
@@ -140,8 +140,6 @@ export const prepareWAMessageMedia = async (message, options) => {
|
|
|
140
140
|
[`${mediaType}Message`]: MessageTypeProto[mediaType].fromObject({
|
|
141
141
|
url: mediaUrl,
|
|
142
142
|
directPath,
|
|
143
|
-
mediaKey: fileSha256, // Dummy key for clients
|
|
144
|
-
mediaKeyTimestamp: unixTimestampSeconds(),
|
|
145
143
|
fileSha256,
|
|
146
144
|
fileLength,
|
|
147
145
|
...uploadData,
|
|
@@ -227,7 +225,6 @@ export const prepareWAMessageMedia = async (message, options) => {
|
|
|
227
225
|
fileEncSha256,
|
|
228
226
|
fileSha256,
|
|
229
227
|
fileLength,
|
|
230
|
-
mediaKeyTimestamp: unixTimestampSeconds(),
|
|
231
228
|
...uploadData,
|
|
232
229
|
media: undefined
|
|
233
230
|
})
|