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

Reset notify settings on unarchive.

This commit is contained in:
John Preston
2020-07-06 14:26:00 +04:00
parent 5c5414b680
commit 152b49c65c
3 changed files with 15 additions and 1 deletions

View File

@@ -596,6 +596,7 @@ public:
not_null<PeerData*> peer,
std::optional<int> muteForSeconds,
std::optional<bool> silentPosts = std::nullopt);
void resetNotifySettingsToDefault(not_null<PeerData*> peer);
bool notifyIsMuted(
not_null<const PeerData*> peer,
crl::time *changesIn = nullptr) const;