Skip to content

A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.

TypeScript fluxerfluxerapp

fix(app): suppress details for channel delete audit logs (#48)

hampus-fluxer00fcf5912060
diff --git a/fluxer_app/src/utils/modals/guildTabs/GuildAuditLogTabUtils.ts b/fluxer_app/src/utils/modals/guildTabs/GuildAuditLogTabUtils.ts
index 75d10f16b..0f9b2d807 100644
--- a/fluxer_app/src/utils/modals/guildTabs/GuildAuditLogTabUtils.ts
+++ b/fluxer_app/src/utils/modals/guildTabs/GuildAuditLogTabUtils.ts
@@ -139,6 +139,7 @@ const suppressedDetailActions = new Set<AuditLogActionType>([
AuditLogActionType.MESSAGE_BULK_DELETE,
AuditLogActionType.MESSAGE_PIN,
AuditLogActionType.MESSAGE_UNPIN,
+ AuditLogActionType.CHANNEL_DELETE,
]);
const NotRenderedChangeKeys: Partial<Record<AuditLogTargetType, Record<string, true>>> = {