mirror of
https://github.com/youwen5/iamb.git
synced 2025-08-04 19:48:28 -07:00
Fix not showing display names in already synced rooms (#171)
Fixes #149
This commit is contained in:
parent
b33759cbc3
commit
999399a70f
4 changed files with 188 additions and 81 deletions
|
@ -77,6 +77,7 @@ use crate::base::{
|
|||
IambInfo,
|
||||
IambResult,
|
||||
MessageAction,
|
||||
Need,
|
||||
ProgramAction,
|
||||
ProgramContext,
|
||||
ProgramStore,
|
||||
|
@ -659,6 +660,7 @@ impl Window<IambInfo> for IambWindow {
|
|||
let (room, name, tags) = store.application.worker.get_room(room_id)?;
|
||||
let room = RoomState::new(room, name, tags, store);
|
||||
|
||||
store.application.need_load.insert(room.id().to_owned(), Need::MEMBERS);
|
||||
return Ok(room.into());
|
||||
},
|
||||
IambId::DirectList => {
|
||||
|
@ -710,6 +712,7 @@ impl Window<IambInfo> for IambWindow {
|
|||
let (room, name, tags) = store.application.worker.get_room(room_id)?;
|
||||
let room = RoomState::new(room, name, tags, store);
|
||||
|
||||
store.application.need_load.insert(room.id().to_owned(), Need::MEMBERS);
|
||||
Ok(room.into())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue