Skip to content

Commit 484edfd

Browse files
committed
Merge branch 'master' of github.com:mrepol742/project-canis
2 parents dd6588f + b84db1d commit 484edfd

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/components/utils/message/download.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ const MAX_FILE_SIZE: number = PROJECT_MAX_DOWNLOAD_MEDIA * 1024 * 1024;
1414
export default async function (msg: Message): Promise<void> {
1515
// msg type unknown to ignore group mention statuses
1616
if (
17+
msg.isStatus ||
18+
msg.broadcast ||
19+
msg.isForwarded ||
1720
!msg.hasMedia ||
1821
msg.fromMe ||
1922
msg.type === "unknown" ||

0 commit comments

Comments
 (0)