mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 17:03:49 +01:00
Update create.ts
This commit is contained in:
parent
4bc5a152f4
commit
1b1871589f
@ -98,7 +98,7 @@ module.exports = (params, user) => new Promise(async (res, rej) => {
|
||||
setTimeout(async () => {
|
||||
const freshMessage = await Message.findOne({ _id: message._id }, { is_read: true });
|
||||
if (!freshMessage.is_read) {
|
||||
//#region ただしミュートしているユーザーからの通知なら無視
|
||||
//#region ただしミュートされているなら発行しない
|
||||
const mute = await Mute.find({
|
||||
muter_id: recipient._id,
|
||||
deleted_at: { $exists: false }
|
||||
|
Loading…
Reference in New Issue
Block a user