diff --git a/matrix_sdk_base/src/store.rs b/matrix_sdk_base/src/store.rs index 44a70fb5..ffc94aaf 100644 --- a/matrix_sdk_base/src/store.rs +++ b/matrix_sdk_base/src/store.rs @@ -155,6 +155,7 @@ impl Room { name: None, canonical_alias: None, avatar_url: None, + topic: None, })), } } @@ -326,6 +327,7 @@ pub struct InnerSummary { name: Option, canonical_alias: Option, avatar_url: Option, + topic: Option, summary: SomeSummary, members_synced: bool, @@ -379,6 +381,10 @@ impl InnerSummary { self.canonical_alias = a.content.alias.clone(); true } + AnySyncStateEvent::RoomTopic(t) => { + self.topic = Some(t.content.topic.clone()); + true + } _ => false, } }