base: Handle room avatar updates
parent
508bf3b23d
commit
40c53f09ba
|
@ -187,6 +187,10 @@ impl BaseRoomInfo {
|
|||
self.encryption = Some(encryption.clone());
|
||||
true
|
||||
}
|
||||
AnyStateEventContent::RoomAvatar(a) => {
|
||||
self.avatar_url = a.url.clone();
|
||||
true
|
||||
}
|
||||
AnyStateEventContent::RoomName(n) => {
|
||||
self.name = n.name().map(|n| n.to_string());
|
||||
true
|
||||
|
|
Loading…
Reference in New Issue