ReleaseV04

This commit is contained in:
Flatlogic Bot 2026-02-19 20:50:13 +00:00
parent 975f481fa0
commit fe70097357

View File

@ -1445,13 +1445,6 @@ $projectImageUrl = $_SERVER['PROJECT_IMAGE_URL'] ?? '';
<div class="form-text text-muted small">Joue un son lors de la réception d'un nouveau message.</div>
</div>
</div>
</div>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" name="sound_notifications" id="sound-switch" value="1" <?php echo ($user['sound_notifications'] ?? 0) ? 'checked' : ''; ?>>
<label class="form-check-label" for="sound-switch">Sound Notifications</label>
<div class="form-text text-muted" style="font-size: 0.8em;">Play a sound when you are mentioned.</div>
</div>
</div>
</div>
</div>
</form>
@ -1603,8 +1596,8 @@ async function handleSaveUserParamètres(btn) {
const formData = new FormData(form);
// Ensure switches are correctly sent as 1/0
const dndMode = document.getElementById('dnd-switch')?.checked ? '1' : '0';
const soundNotifications = document.getElementById('sound-switch')?.checked ? '1' : '0';
const dndMode = document.getElementById('dnd-mode-switch')?.checked ? '1' : '0';
const soundNotifications = document.getElementById('sound-notifications-switch')?.checked ? '1' : '0';
const echoCancellation = document.getElementById('echo-cancellation-switch')?.checked ? '1' : '0';
const noiseSuppression = document.getElementById('noise-suppression-switch')?.checked ? '1' : '0';