summaryrefslogtreecommitdiff
path: root/src/models
diff options
context:
space:
mode:
authorAya Morisawa <AyaMorisawa4869@gmail.com>2018-08-12 05:19:32 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2018-08-12 05:20:31 +0900
commit1f28a0dfebd8ba2bf41e952e215b182ac917ab38 (patch)
tree82c246ef20657a54f7bd724cae02a3417fdcd939 /src/models
parentFix ActivityPub attachment url (diff)
downloadsharkey-1f28a0dfebd8ba2bf41e952e215b182ac917ab38.tar.gz
sharkey-1f28a0dfebd8ba2bf41e952e215b182ac917ab38.tar.bz2
sharkey-1f28a0dfebd8ba2bf41e952e215b182ac917ab38.zip
Improve nya
Diffstat (limited to 'src/models')
-rw-r--r--src/models/note.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models/note.ts b/src/models/note.ts
index af6f6f7c01..9d2e23d901 100644
--- a/src/models/note.ts
+++ b/src/models/note.ts
@@ -340,7 +340,7 @@ export const pack = async (
_note = await rap(_note);
if (_note.user.isCat && _note.text) {
- _note.text = _note.text.replace(/な/g, 'にゃ').replace(/ナ/g, 'ニャ');
+ _note.text = _note.text.replace(/な/g, 'にゃ').replace(/ナ/g, 'ニャ').replace(/ナ/g, 'ニャ');
}
if (hide) {