mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
parent
c846a14118
commit
8cc0fbc687
1 changed files with 1 additions and 1 deletions
|
@ -704,7 +704,7 @@ void Session::updateNotifySettingsLocal(not_null<PeerData*> peer) {
|
|||
}
|
||||
|
||||
void Session::unmuteByFinishedDelayed(TimeMs delay) {
|
||||
accumulate_max(delay, kMaxNotifyCheckDelay);
|
||||
accumulate_min(delay, kMaxNotifyCheckDelay);
|
||||
if (!_unmuteByFinishedTimer.isActive()
|
||||
|| _unmuteByFinishedTimer.remainingTime() > delay) {
|
||||
_unmuteByFinishedTimer.callOnce(delay);
|
||||
|
|
Loading…
Add table
Reference in a new issue