2026-10-09 10:00:15 +00:00
|
|
|
// Module ID: 13408
|
|
|
|
|
// Function ID: 13409
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: didReplyMention
|
2026-07-23 10:11:24 +00:00
|
|
|
// Dependencies: [2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-10-09 10:00:15 +00:00
|
|
|
// Module 13408 (didReplyMention)
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const result = size.fileFinishedImporting("modules/replies/didReplyMention.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function didReplyMention(mentions, author) {
|
|
|
|
|
let hasItem = null != author;
|
|
|
|
|
if (hasItem) {
|
|
|
|
|
mentions = mentions.mentions;
|
|
|
|
|
hasItem = mentions.includes(author.author.id);
|
|
|
|
|
}
|
|
|
|
|
return hasItem;
|
|
|
|
|
};
|