1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-02 16:58:43 +09:00
This commit is contained in:
syuilo 2018-11-09 22:19:43 +09:00
parent 825fdb2475
commit 5bcce97ff0
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -96,7 +96,7 @@ export default async function renderNote(note: INote, dive = true): Promise<any>
}
// 省略されたメンションのホストを復元する
if (text != null) {
if (text != null && text != '') {
text = parseMfm(text).map(x => {
if (x.type == 'mention' && x.host == null) {
return `${x.content}@${config.host}`;