fix: ハイフンを含むリモート絵文字が描画されない
This commit is contained in:
parent
bba3097765
commit
131827097b
|
@ -20,7 +20,7 @@ import { query } from '@/misc/prelude/url.js';
|
|||
import type { Serialized } from '@/types.js';
|
||||
import { ModerationLogService } from '@/core/ModerationLogService.js';
|
||||
|
||||
const parseEmojiStrRegexp = /^(\w+)(?:@([\w.-]+))?$/;
|
||||
const parseEmojiStrRegexp = /^([-\w]+)(?:@([\w.-]+))?$/;
|
||||
|
||||
@Injectable()
|
||||
export class CustomEmojiService implements OnApplicationShutdown {
|
||||
|
|
Loading…
Reference in New Issue