base: make fields of UnreadNotificationsCount public

master
Julian Sparber 2021-02-02 21:11:51 +01:00
parent b66c666997
commit bdaed6237e
1 changed files with 2 additions and 2 deletions

View File

@ -157,9 +157,9 @@ pub struct InviteState {
#[derive(Copy, Clone, Debug, Default, Deserialize, Serialize)]
pub struct UnreadNotificationsCount {
/// The number of unread notifications for this room with the highlight flag set.
highlight_count: u64,
pub highlight_count: u64,
/// The total number of unread notifications for this room.
notification_count: u64,
pub notification_count: u64,
}
impl From<RumaUnreadNotificationsCount> for UnreadNotificationsCount {