This commit is contained in:
Bryan Ashby 2019-08-10 11:09:34 -06:00
parent 0e6aa56379
commit b435f3fbb8
No known key found for this signature in database
GPG Key ID: B49EB437951D2542
1 changed files with 4 additions and 1 deletions

View File

@ -357,6 +357,9 @@ exports.FullScreenEditorModule = exports.getModule = class FullScreenEditorModul
}
}
//
// Append auto-signature, if enabled for the area & the user has one
//
if(false != area.autoSignatures) {
const sig = this.client.user.getProperty(UserProps.AutoSignature);
if(sig) {
@ -364,8 +367,8 @@ exports.FullScreenEditorModule = exports.getModule = class FullScreenEditorModul
}
}
// finally, create the message
msgOpts.message = messageBody;
this.message = new Message(msgOpts);
return cb(null);