Skip to content

Commit

Permalink
fix(fix/unavailable): initial/final commit
Browse files Browse the repository at this point in the history
  • Loading branch information
purpshell committed Jul 3, 2024
1 parent 6acab59 commit 57bcf1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion message.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func (cli *Client) handlePlaintextMessage(info *types.MessageInfo, node *waBinar
func (cli *Client) decryptMessages(info *types.MessageInfo, node *waBinary.Node) {
if len(node.GetChildrenByTag("unavailable")) > 0 && len(node.GetChildrenByTag("enc")) == 0 {
cli.Log.Warnf("Unavailable message %s from %s", info.ID, info.SourceString())
go cli.sendRetryReceipt(node, info, true)
go cli.sendAck(node)
cli.dispatchEvent(&events.UndecryptableMessage{Info: *info, IsUnavailable: true})
return
}
Expand Down

0 comments on commit 57bcf1b

Please sign in to comment.