Update src/plugins/replyPingControl/index.ts

Co-authored-by: MrDiamondDog <84212701+MrDiamondDog@users.noreply.github.com>
This commit is contained in:
ant0n 2023-11-11 17:52:26 +00:00 committed by GitHub
parent 66b49a25ab
commit 5026f3f354
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ export default definePlugin({
}
],
modifyMentions(message) {
modifyMentions(message: MessageJSON) {
const isReplyToCurrentUser = this.isReplyToCurrentUser(message);
if (settings.store.alwaysPingOnReply && isReplyToCurrentUser) {