mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-28 23:08:12 +09:00
Clean up
This commit is contained in:
parent
ba8839bf9e
commit
ead45c70ab
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user