diff --git a/src/server/api/endpoints/messaging/messages/create.ts b/src/server/api/endpoints/messaging/messages/create.ts index 8ebf1a2a2b..144c0ba717 100644 --- a/src/server/api/endpoints/messaging/messages/create.ts +++ b/src/server/api/endpoints/messaging/messages/create.ts @@ -123,20 +123,6 @@ export default (params: any, user: ILocalUser) => new Promise(async (res, rej) = } }, 3000); - // Register to search database - if (message.text && config.elasticsearch) { - const es = require('../../../db/elasticsearch'); - - es.index({ - index: 'misskey', - type: 'messaging_message', - id: message._id.toString(), - body: { - text: message.text - } - }); - } - // 履歴作成(自分) History.update({ userId: user._id,