Update PostComponent, update mention handler. Fixes #2421

pull/2467/head
Daniel Supernault 5 years ago
parent e51665f6e3
commit dac060888a
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -1149,8 +1149,10 @@ export default {
this.replyToIndex = index;
this.replyingToId = e.id;
this.reply_to_profile_id = e.account.id;
let username = e.account.local ? '@' + e.account.username + ' '
: '@' + e.account.acct + ' ';
if(prependUsername == true) {
this.replyText = '@' + e.account.username + ' ';
this.replyText = username;
}
$('textarea[name="comment"]').focus();
},

Loading…
Cancel
Save