reportingtoken: fix jid order
This commit is contained in:
1 parent
ac62b96ac9
commit
7b33f6289f
1 file changed
+1
-1
+1
-1
@@ -53,7 +53,7 @@ func (cli *Client) getMessageReportingToken(
|
||||
messageID types.MessageID,
|
||||
) waBinary.Node {
|
||||
reportingSecret, _ := generateMsgSecretKey(
|
||||
EncSecretReportToken, senderJID, messageID, remoteJID,
|
||||
EncSecretReportToken, remoteJID, messageID, senderJID,
|
||||
msg.GetMessageContextInfo().GetMessageSecret(),
|
||||
)
|
||||
hasher := hmac.New(sha256.New, reportingSecret)
|
||||
|
||||
Reference in new issue
Block a user