This commit is contained in:
syuilo 2018-08-01 08:38:56 +09:00
parent aad131c913
commit bffd7bbb3b

View file

@ -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,