2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Added support of sound notification setting to Data::Session.

This commit is contained in:
23rd
2022-03-30 12:36:41 +03:00
committed by John Preston
parent 93d4581443
commit f32215f77d
6 changed files with 81 additions and 20 deletions

View File

@@ -178,7 +178,8 @@ System::SkipState System::computeSkipState(
.value = value,
.silent = (forceSilent
|| !messageNotification
|| item->isSilent()),
|| item->isSilent()
|| history->owner().notifySoundIsNone(history->peer)),
};
};
const auto showForMuted = messageNotification