Fix real names during message save

This commit is contained in:
Bryan Ashby 2019-05-15 21:51:44 -06:00
parent 013c088651
commit da91bf0191
No known key found for this signature in database
GPG Key ID: B49EB437951D2542
1 changed files with 1 additions and 1 deletions

View File

@ -329,7 +329,7 @@ exports.FullScreenEditorModule = exports.getModule = class FullScreenEditorModul
const msgOpts = { const msgOpts = {
areaTag : this.messageAreaTag, areaTag : this.messageAreaTag,
toUserName : headerValues.to, toUserName : headerValues.to,
fromUserName : this.client.user.username, fromUserName : this.client.user.getProperty(UserProps.RealName) || this.client.user.username,
subject : headerValues.subject, subject : headerValues.subject,
// :TODO: don't hard code 1 here: // :TODO: don't hard code 1 here:
message : this.viewControllers.body.getView(MciViewIds.body.message).getData( { forceLineTerms : this.replyIsAnsi } ), message : this.viewControllers.body.getView(MciViewIds.body.message).getData( { forceLineTerms : this.replyIsAnsi } ),