From ac4d087f3edf37bbdb421494dea06cf69e524985 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 20 Jan 2026 02:46:04 +0000 Subject: [PATCH] Remove legacy Direct Message privacy UI Removes the "Direct message privacy" section from the profile modal's Messages tab, as these settings are now managed via the AppShell (gear icon). - Removed privacy section HTML from `components/profile-modal.html`. - Updated `js/ui/profileModalController.js` to remove legacy DOM references and event listeners. - Preserved `handleReadReceiptsToggle` and `handleTypingIndicatorsToggle` methods for AppShell integration. - Updated `syncDmPrivacySettingsUi` to be a no-op to prevent errors in existing call sites. --- components/profile-modal.html | 30 ----------------- js/ui/profileModalController.js | 20 ++--------- verification_profile_messages.png | Bin 0 -> 149306 bytes verify_profile.py | 53 ++++++++++++++++++++++++++++++ 4 files changed, 56 insertions(+), 47 deletions(-) create mode 100644 verification_profile_messages.png create mode 100644 verify_profile.py diff --git a/components/profile-modal.html b/components/profile-modal.html index b496f4cf..ed618117 100644 --- a/components/profile-modal.html +++ b/components/profile-modal.html @@ -1088,36 +1088,6 @@ role="tabpanel" aria-labelledby="profileNavMessages" > -
- Control read receipts and typing indicators for direct messages. -
-%2SRNz|4VZW?B
z?M5tqIIQ2j<=Ktpw&pbl)xqy`WQU8K5ym&7ERvDrE$KT6g!iTdDK|bjjLd9BMXX$}
zVXDnVF+JhN*C22|{2n`ih+Cv?B3dx!mFBIdd>xx-!_h_g@VpKxYmgN@hnO2evz3AU
zkVIxFEvGsl4h|eq{82OMBN}jVbdAqk`z++z=M?aAt58?KIiJ$wwBDXb%!@OOu@d+f
zLmDA>J`*zFI$<$!^wnFTEHL0@XZh`6eH`#`v7l6q%37y4jealPSvL4TE}-?ubU5!|
z9Zn=pXH8WL_4nSY28V5^v;h3K{Mwi5gD*! dCWeG#cYs9Me?{QgXs8F#_
zZ`!RTV|yMuys=2}!KXV3S0xWPRs~PzQnCtNSO=caWRQw?-3m{Ofm23{i;AF^C@zB`
zHg`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