log msg ids

This commit is contained in:
Erik 2022-03-23 14:39:12 +02:00
parent 956807ab09
commit 781daf9545
No known key found for this signature in database
GPG Key ID: FEFF4B220DDF5589

View File

@ -188,7 +188,7 @@ class Modmail {
}); });
} }
pastModmail.push({ attachments, author: author.id, content, timestamp: Date.now(), isReply: false }); pastModmail.push({ attachments, author: author.id, content, timestamp: Date.now(), isReply: false, msgId: message.id });
if (!this.updatedThreads.includes(author.id)) this.updatedThreads.push(author.id); if (!this.updatedThreads.includes(author.id)) this.updatedThreads.push(author.id);
if (!this.queue.includes(author.id)) this.queue.push(author.id); if (!this.queue.includes(author.id)) this.queue.push(author.id);