base: Handle room avatar updates
This commit is contained in:
parent
508bf3b23d
commit
40c53f09ba
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue