Skip to content

Commit

Permalink
Allow commands not to be signed (#1277)
Browse files Browse the repository at this point in the history
  • Loading branch information
forester302 authored Jan 1, 2024
1 parent 80d038b commit 21240f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ module.exports = function (client, options) {
command,
timestamp: options.timestamp,
salt: options.salt,
argumentSignatures: client.profileKeys ? signaturesForCommand(command, options.timestamp, options.salt, options.preview, acknowledgements) : [],
argumentSignatures: (client.profileKeys && client._session) ? signaturesForCommand(command, options.timestamp, options.salt, options.preview, acknowledgements) : [],
messageCount: client._lastSeenMessages.pending,
acknowledged
})
Expand Down

0 comments on commit 21240f8

Please sign in to comment.