fix: MSKY-77 (MisskeyIO#956)

This commit is contained in:
あわわわとーにゅ 2025-03-31 12:07:19 +09:00 committed by GitHub
parent 9262571e81
commit e888ee414b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 17 additions and 22 deletions

View file

@ -186,8 +186,8 @@ export function getNoteMenu(props: {
}).then(({ canceled }) => {
if (canceled) return;
if (isAprilFoolsDay()) {
if (!isMute()) playUrl('/client-assets/sounds/flush.mp3', {});
if (isAprilFoolsDay() && !isMute()) {
playUrl('/client-assets/sounds/flush.mp3', { volume: defaultStore.state.sound_masterVolume });
}
misskeyApi('notes/delete', {