Update message.js

doc fix
This commit is contained in:
Bart Butler 2018-02-13 10:58:55 -08:00 committed by GitHub
parent 2a504e4e1a
commit c855fd4e4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
* @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) {
if (compression === enums.compression.uncompressed) {