[Clean]
This commit is contained in:
parent
e8faca34e2
commit
0990ccd526
16 changed files with 139 additions and 393 deletions
|
|
@ -147,10 +147,10 @@ impl RhoConnection {
|
|||
}
|
||||
|
||||
/// Check if clients are interested in a user
|
||||
pub async fn are_they_interested(&self, user: &crate::data::user::User) {
|
||||
pub async fn are_they_interested(&self, user_id: i64) {
|
||||
let connections = self.client_connections.read().await;
|
||||
for connection in connections.iter() {
|
||||
connection.clone().are_you_interested(user).await;
|
||||
connection.clone().are_you_interested(user_id).await;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue