diff --git a/src/ai.ts b/src/ai.ts index a3c1766..427e266 100644 --- a/src/ai.ts +++ b/src/ai.ts @@ -145,7 +145,7 @@ export default class 藍 { if (data.text && data.text.startsWith('@' + this.account.username)) { // Misskeyのバグで投稿が非公開扱いになる if (data.text == null) data = await this.api('notes/show', { noteId: data.id }); - this.onReceiveMessage(new Message(this, data, false)); + this.onReceiveMessage(new Message(this, data)); } }); @@ -155,7 +155,7 @@ export default class 藍 { if (data.text && data.text.startsWith('@' + this.account.username)) return; // Misskeyのバグで投稿が非公開扱いになる if (data.text == null) data = await this.api('notes/show', { noteId: data.id }); - this.onReceiveMessage(new Message(this, data, false)); + this.onReceiveMessage(new Message(this, data)); }); // Renoteされたとき @@ -173,7 +173,7 @@ export default class 藍 { // メッセージ mainStream.on('messagingMessage', data => { if (data.userId == this.account.id) return; // 自分は弾く - this.onReceiveMessage(new Message(this, data, true)); + this.onReceiveMessage(new Message(this, data)); }); // 通知