summaryrefslogtreecommitdiff
path: root/src/misc
diff options
context:
space:
mode:
authorMeiMei <30769358+mei23@users.noreply.github.com>2020-04-16 00:47:17 +0900
committerGitHub <noreply@github.com>2020-04-16 00:47:17 +0900
commitfa75b40dfd565c437da99c84fbefed564d4b4eb1 (patch)
tree3d2baa3b493e087cdbdc095eb49dcf046f868f37 /src/misc
parent0以下のリアクションは送らないように Resolve #6263 (#6264) (diff)
downloadsharkey-fa75b40dfd565c437da99c84fbefed564d4b4eb1.tar.gz
sharkey-fa75b40dfd565c437da99c84fbefed564d4b4eb1.tar.bz2
sharkey-fa75b40dfd565c437da99c84fbefed564d4b4eb1.zip
リアクションの修正 (#6260)
Diffstat (limited to 'src/misc')
-rw-r--r--src/misc/reaction-lib.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc/reaction-lib.ts b/src/misc/reaction-lib.ts
index d59fb67a6b..e9a9d4f7c9 100644
--- a/src/misc/reaction-lib.ts
+++ b/src/misc/reaction-lib.ts
@@ -70,7 +70,7 @@ export async function toDbReaction(reaction?: string | null, reacterHost?: strin
return unicode.match('\u200d') ? unicode : unicode.replace(/\ufe0f/g, '');
}
- const custom = reaction.match(/^:([\w+-]+):$/);
+ const custom = reaction.match(/^:([\w+-]+)(?:@\.)?:$/);
if (custom) {
const name = custom[1];
const emoji = await Emojis.findOne({