mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Added public api for sound configuration to data notify settings.
This commit is contained in:
@@ -146,7 +146,7 @@ void PeerMenuAddMuteSubmenuAction(
|
||||
addAction(PeerMenuCallback::Args{
|
||||
.text = tr::lng_context_mute(tr::now),
|
||||
.handler = nullptr,
|
||||
.icon = peer->owner().notifySettings().soundIsNone(peer)
|
||||
.icon = peer->owner().notifySettings().sound(peer).none
|
||||
? &st::menuIconSilent
|
||||
: &st::menuIconMute,
|
||||
.fillSubmenu = [=](not_null<Ui::PopupMenu*> menu) {
|
||||
|
Reference in New Issue
Block a user