2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Moved out public api for notify settings from Data::Session.

This commit is contained in:
23rd
2022-04-01 13:36:33 +03:00
committed by John Preston
parent 36bb23c54c
commit 9478798a47
13 changed files with 113 additions and 114 deletions

View File

@@ -71,7 +71,7 @@ History::History(not_null<Data::Session*> owner, PeerId peerId)
, peer(owner->peer(peerId))
, cloudDraftTextCache(st::dialogsTextWidthMin)
, _delegateMixin(HistoryInner::DelegateMixin())
, _mute(owner->notifyIsMuted(peer))
, _mute(owner->notifySettings().isMuted(peer))
, _chatListNameSortKey(owner->nameSortKey(peer->name))
, _sendActionPainter(this) {
if (const auto user = peer->asUser()) {