Highlight face pile which local user is following
This commit is contained in:
parent
1abb7794cb
commit
05e9615507
4 changed files with 46 additions and 32 deletions
|
@ -459,7 +459,7 @@ impl Room {
|
|||
self.participant_user_ids.contains(&user_id)
|
||||
}
|
||||
|
||||
pub fn follows(&self, leader_id: PeerId) -> &[PeerId] {
|
||||
pub fn followers_for(&self, leader_id: PeerId) -> &[PeerId] {
|
||||
self.follows_by_leader_id
|
||||
.get(&leader_id)
|
||||
.map_or(&[], |v| v.as_slice())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue