It is possible to replace a message in place by creating a new message with the same nonce as an existing one.
This is not considered an edit since it's a new message. Thus it bypasses our edit logging and can be used to "delete" a message by replacing it with an empty one.
This fixes that bypass
* feat(timezones): show recipient timezone in dms
* fix(timezones): make sure showOwnTimezone is not bypassed
* fix(timezones): prevent showLocalTimezone from minifying every timezone instead of just local
* feat(RichPresence): Add Navidrome RPC integration
* fix: Update Star123451 ID
* Implement Subsonic GetNowPlaying for album art
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* fix(Navidrome): address PR review comments, remove Uguu.se plugin violation
* fix(Navidrome) Fix clearing activities, add standard music RPC default config
* fix(Navidrome) Patched Credential Leak in cover art fallback code, fix non-selectable settings entries
* fix(Navidrome) fix settings cache bug, implement typescript hygiene suggestion, and make fetching album art a toggle, added note that grabbing album art exposes server URL and Navidrome username to Discord.
* fix(Navidrome): Changed cachedSettingsJSON to only affect Navidrome-specific settings, updated polling interval slider to take affect during runtime, not just start up
* feat(RichPresence): overhaul Navidrome RPC with formatting system and activity types, add fast.fm album art fetching, update settings to instantly update
* fix(RichPresence) Fix last.fm cache leak, add privacy disclosure for last.fm album fetch method, remove dead settings
* fix(RichPresence): remove unused import and fix default activity type inconsistency
* fix(RichPresence): add parseUrl valdiation to serverUrl/publicUrl, fix SwitchSetting regression, strip auth param from getCoverArt, added abort signal to prevent accidental presence revival when disabled, remove "as const" rule violation for settings.use()
* fix(RichPresense): Fix forceUpdate orphan timer leaks, correct MD5 behavior for passwords using accented characters
* fix(RichPresence): remove MD5 auth for simpler hex auth, include optional space to provide a last.fm API key, implement lodash.debounce in place of setTimeout, fixed navidrome intersepting settings from other RPC included in the plugin
* fix(RichPresence): fix hex auth code to support special characters
* fix(RichPresence): fix lastFmCache invalidation code
* fix(RichPresence): remove unused lodash import from SettingsPanel.tsx
* chore(richPresence): remove violating comments in navidrome.ts
* chore(richPresence): update navidrome.ts
* fix(richPresence): change settings to use settings.plain, fix flicker found when changing non-related plugin settings, correct || vs ?? rule violations, fetch large and small image concurrently to speed up presence update
* feat(richPresence): add status display type option for navidrome rich presence
* fix(richPresence): add lastMinutesAgo cache to detect if the same song is on repeat in order to reset song progress bar
* fix(richPresence): Fix to only show music of the username given in navidrome settings
* fix(richPresence): remove stale onServiceChange import
* fix(richPresence): fix stale activity cache when same track is replayed
* fix(richPresence): omit end property when no media duration is known
* chore(richPresence): add instance-based album art fetching disclaimer for local instances
* chore(richPresence): centralize get_activity() and forceUpdate() JSON.stringify usage
* fix(richPresence): removed unused settings migration in migrartion.ts, remove empty lines in SettingsPanel, revert syncServices to use settings.store, remove local ip instances support
* fix(richPresence): revert to md5 implementation in utils.ts for secure auth, fix album fetching from navidrome instances
* chore(richPrecence): switch to ts-md5 source for a robust MD5 implementation
* richPresence(fix): simplify public instance checking
* boom
* richPresence(fix): fix md5 implementation and revert back to getCoverArt for navidrome instance album art fetching
---------
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: thororen1234 <78185467+thororen1234@users.noreply.github.com>