mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 20:07:33 -07:00
Fix bug
This commit is contained in:
parent
421790890f
commit
74c2defc10
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue