re-add link preview

This commit is contained in:
Ren Amamiya
2023-09-04 14:35:57 +07:00
parent 3ebcf4a981
commit c74a81cfdb
8 changed files with 246 additions and 41 deletions

View File

@@ -45,6 +45,8 @@ export function parser(eventContent: string) {
// remove url from original content
word = word.replace(word, '');
}
content.links.push(url.toString());
}
// hashtag