2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Added public api for sound configuration to data notify settings.

This commit is contained in:
23rd
2022-04-05 00:10:15 +03:00
parent 55864edb67
commit a0b88e8f8b
8 changed files with 37 additions and 40 deletions

View File

@@ -180,8 +180,8 @@ System::SkipState System::computeSkipState(
.silent = (forceSilent
|| !messageNotification
|| item->isSilent()
|| history->owner().notifySettings().soundIsNone(
history->peer)),
|| history->owner().notifySettings().sound(
history->peer).none),
};
};
const auto showForMuted = messageNotification