mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 00:49:17 +09:00
Fix bug
This commit is contained in:
parent
825fdb2475
commit
5bcce97ff0
@ -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}`;
|
||||
|
Loading…
Reference in New Issue
Block a user