Merge branch 'develop' into notification-hide-muting-user

This commit is contained in:
taichan
2024-02-20 15:57:28 +09:00
committed by GitHub
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -21,6 +21,7 @@
- Fix: syuilo/misskeyの時代からあるインスタンスが改変されたバージョンであると誤認識される問題
- Fix: MFMのオートコンプリートが出るべき状況で出ないことがある問題を修正
- Fix: チャートのラベルが消えている問題を修正
- Fix: 画面表示後最初の音声再生が爆音になることがある問題を修正
### Server
- Fix: nodeinfoにenableMcaptchaとenableTurnstileが無いのを修正
+1 -1
View File
@@ -126,7 +126,7 @@ export async function loadAudio(url: string, options?: { useCache?: boolean; })
*/
export function playMisskeySfx(operationType: OperationType) {
const sound = defaultStore.state[`sound_${operationType}`];
if (sound.type == null || !canPlay) return;
if (sound.type == null || !canPlay || !navigator.userActivation.hasBeenActive) return;
canPlay = false;
playMisskeySfxFile(sound).finally(() => {