From ad7dad407ef7ffba8c47fe210061b4ad2c3a7bcf Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 14 Aug 2018 08:17:07 +0900 Subject: [PATCH] :v: --- src/modules/welcome/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/welcome/index.ts b/src/modules/welcome/index.ts index 6b84be9..59e812d 100644 --- a/src/modules/welcome/index.ts +++ b/src/modules/welcome/index.ts @@ -11,7 +11,7 @@ export default class WelcomeModule implements IModule { } public onLocalNote = (note: any) => { - if (note.user.notesCount == 1) { + if (note.isFirstNote) { setTimeout(() => { this.ai.api('notes/create', { renoteId: note.id