mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Support per-topic notification settings.
This commit is contained in:
@@ -141,7 +141,7 @@ void PeerMenuAddMuteSubmenuAction(
|
||||
if (isMuted) {
|
||||
const auto text = tr::lng_context_unmute(tr::now)
|
||||
+ '\t'
|
||||
+ Ui::FormatMuteForTiny(peer->notifyMuteUntil().value_or(0)
|
||||
+ Ui::FormatMuteForTiny(peer->notify().muteUntil().value_or(0)
|
||||
- base::unixtime::now());
|
||||
addAction(text, [=] {
|
||||
peer->owner().notifySettings().update(peer, { .unmute = true });
|
||||
|
Reference in New Issue
Block a user