Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
adiwajshing committed Mar 24, 2021
1 parent 38b41b4 commit e817cdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SendMammyResponder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const createSendMammyResponder = (

const sendMessage = async(jid: string, answer: Answer, quoted?: WAMessage) => {
const token = await authController.getToken(user.teamId)
const result = await sendWAMessage({ jid, answer, quotedId: quoted.key.id, token })
const result = await sendWAMessage({ jid, answer, quotedId: quoted?.key.id, token })
return result
}

Expand Down

0 comments on commit e817cdc

Please sign in to comment.