Skip to content

Commit

Permalink
๐Ÿงฟ ๐šƒ๐š‘๐šŽ ๐™ผ๐šข๐šœ๐š๐š’๐šŒ - ๐™ฑ๐š˜๐š ๐Ÿ”ฎ
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoSobrino authored Oct 5, 2024
1 parent 917317b commit 8dcdea2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/libraries/simple.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ const {
makeInMemoryStore,
getAggregateVotesInPollMessage,
prepareWAMessageMedia,
WA_DEFAULT_EPHEMERAL
WA_DEFAULT_EPHEMERAL,
WAWeb
} = (await import("baileys")).default

export function makeWASocket(connectionOptions, options = {}) {
Expand Down Expand Up @@ -1518,7 +1519,7 @@ export function smsg(conn, m, hasParent) {
// https://github.com/Nurutomo/wabot-aq/issues/490
export function serialize() {
const MediaType = ['imageMessage', 'videoMessage', 'audioMessage', 'stickerMessage', 'documentMessage'];
return Object.defineProperties(proto.WebMessageInfo.prototype, {
return Object.defineProperties(WAWeb.WebMessageInfo.prototype, {
conn: {
value: undefined,
enumerable: false,
Expand Down

0 comments on commit 8dcdea2

Please sign in to comment.