Update message.js
doc fix
This commit is contained in:
parent
2a504e4e1a
commit
c855fd4e4e
|
@ -454,7 +454,7 @@ Message.prototype.sign = async function(privateKeys=[], signature=null) {
|
||||||
/**
|
/**
|
||||||
* Compresses the message (the literal and -if signed- signature data packets of the message)
|
* Compresses the message (the literal and -if signed- signature data packets of the message)
|
||||||
* @param {module:enums.compression} compression compression algorithm to be used
|
* @param {module:enums.compression} compression compression algorithm to be used
|
||||||
* @return {module:message~Message} new message with signed content
|
* @return {module:message~Message} new message with compressed content
|
||||||
*/
|
*/
|
||||||
Message.prototype.compress = function(compression) {
|
Message.prototype.compress = function(compression) {
|
||||||
if (compression === enums.compression.uncompressed) {
|
if (compression === enums.compression.uncompressed) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user