From bdaed6237e104b738b5ad25c063675373d9fa60d Mon Sep 17 00:00:00 2001 From: Julian Sparber Date: Tue, 2 Feb 2021 21:11:51 +0100 Subject: [PATCH] base: make fields of UnreadNotificationsCount public --- matrix_sdk_common/src/deserialized_responses.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matrix_sdk_common/src/deserialized_responses.rs b/matrix_sdk_common/src/deserialized_responses.rs index 697df8a5..bec23c63 100644 --- a/matrix_sdk_common/src/deserialized_responses.rs +++ b/matrix_sdk_common/src/deserialized_responses.rs @@ -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 for UnreadNotificationsCount {