decord/source/modules/replies/didReplyMention.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

19 lines
476 B
TypeScript

// Module ID: 13177
// Function ID: 13178
// Name: didReplyMention
// Dependencies: [2]
// Exports: default
// Module 13177 (didReplyMention)
import set from "set" /* 2 */;
const result = set.fileFinishedImporting("modules/replies/didReplyMention.tsx");
export default function didReplyMention(mentions, author) {
let hasItem = null != author;
if (hasItem) {
mentions = mentions.mentions;
hasItem = mentions.includes(author.author.id);
}
return hasItem;
};