fix(app): apply streamer mode to member nicknames and stop guild scope leaking into global surfaces (#1697)

This commit is contained in:
Hampus authored and GitHub committed 2026-08-17 14:58:56 +02:00
1 parent 3fa766c39c
commit 3ff7189566
32 files changed
+82 -61

No files matched your search

@@ -175,7 +175,7 @@ export function useDMListItemHandlers({
closeAllSheets();
}, [channel.id, closeAllSheets]);
const handleCloseDm = useCallback(() => {
const username = recipient ? NicknameUtils.getNickname(recipient) : '';
const username = recipient ? NicknameUtils.getNickname(recipient, null) : '';
const description = isGroupDM
? i18n._(ARE_YOU_SURE_YOU_WANT_TO_CLOSE_THIS_DESCRIPTOR)
: i18n._(ARE_YOU_SURE_YOU_WANT_TO_CLOSE_YOUR_DESCRIPTOR, {username});