Make NotificationGroupInfo::is_changed_ private.

This commit is contained in:
levlam 2023-08-21 20:14:53 +03:00
parent f933f5a25f
commit b73f8a060b

View File

@ -15,7 +15,8 @@
namespace td {
class NotificationGroupInfo {
bool try_reuse_ = false; // true, if the group needs to be deleted from database and tried to be reused
bool is_changed_ = false; // true, if the group needs to be saved to database
bool try_reuse_ = false; // true, if the group needs to be deleted from database and tried to be reused
public:
NotificationGroupId group_id_;
@ -23,7 +24,6 @@ class NotificationGroupInfo {
NotificationId last_notification_id_; // identifier of last notification in the group
NotificationId max_removed_notification_id_; // notification identifier, up to which all notifications are removed
MessageId max_removed_message_id_; // message identifier, up to which all notifications are removed
bool is_changed_ = false; // true, if the group needs to be saved to database
NotificationGroupInfo() = default;