Skip to content

Commit

Permalink
fix: changed _quotedMsgObj to quotedMsg
Browse files Browse the repository at this point in the history
fix: add quotedStanzaId to serializer
  • Loading branch information
Felipe Escher committed Dec 7, 2021
1 parent d5fa543 commit 288b65a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/wapi/serializers/serialize-message.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ export const _serializeMessageObj = (obj) => {
chat: _chat,
isOnline: _chat.isOnline,
lastSeen: _chat.lastSeen,
quotedMsgObj: obj._quotedMsgObj,
quotedMsgObj: obj.quotedMsg,
quotedStanzaId: obj.quotedStanzaID ? obj.quotedStanzaID : undefined,
mediaData: window.WAPI._serializeRawObj(obj.mediaData),
caption: obj.caption,
deprecatedMms3Url: obj.deprecatedMms3Url,
Expand Down

0 comments on commit 288b65a

Please sign in to comment.