mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-19 05:55:34 +09:00
fix(app): apply streamer mode to member nicknames and stop guild scope leaking into global surfaces (#1697)
This commit is contained in:
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});
|
||||
|
||||
Reference in new issue
Block a user