Update dependencies (#1951)

This commit is contained in:
Wim
2023-01-28 22:57:53 +01:00
committed by GitHub
parent eac2a8c8dc
commit 880586bac4
325 changed files with 151452 additions and 141118 deletions

View File

@@ -82,6 +82,10 @@ func (cli *Client) SendMediaRetryReceipt(message *types.MessageInfo, mediaKey []
if err != nil {
return fmt.Errorf("failed to prepare encrypted retry receipt: %w", err)
}
ownID := cli.getOwnID().ToNonAD()
if ownID.IsEmpty() {
return ErrNotLoggedIn
}
rmrAttrs := waBinary.Attrs{
"jid": message.Chat,
@@ -100,7 +104,7 @@ func (cli *Client) SendMediaRetryReceipt(message *types.MessageInfo, mediaKey []
Tag: "receipt",
Attrs: waBinary.Attrs{
"id": message.ID,
"to": cli.Store.ID.ToNonAD(),
"to": ownID,
"type": "server-error",
},
Content: []waBinary.Node{