Skip to content

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

TypeScript fluxerfluxerapp

fix(guild): stop activity log from rendering ids in channel names (#1497)

ternera21a898e602bb
diff --git a/fluxer_app/src/features/guild/components/modals/guild_tabs/GuildAuditLogTabUtils.tsx b/fluxer_app/src/features/guild/components/modals/guild_tabs/GuildAuditLogTabUtils.tsx
index bc33c4f24..42507c7b1 100644
--- a/fluxer_app/src/features/guild/components/modals/guild_tabs/GuildAuditLogTabUtils.tsx
+++ b/fluxer_app/src/features/guild/components/modals/guild_tabs/GuildAuditLogTabUtils.tsx
@@ -539,7 +539,7 @@ export const renderEntrySummary = (args: {
findChangeScalar(entry.changes, 'code', i18n) ??
getOptionScalar(entry, ['name', 'title', 'code'], i18n) ??
null;
- const namedTarget = changedName ? renderEntityInline(changedName, guildId, i18n) : targetEntity;
+ const namedTarget = changedName ? renderBoldValue(changedName) : targetEntity;
const pruneDaysRaw = findChangeNewScalar(entry.changes, 'prune_delete_days', i18n);
const pruneDays = pruneDaysRaw ? Number(pruneDaysRaw) : null;
const bulkCount = getOptionNumber(entry, ['count', 'delete_count', 'messages', 'message_count'], i18n);