Exclude admins from collected metrics
This commit is contained in:
parent
226fa6e3be
commit
6d93a41f40
2 changed files with 12 additions and 6 deletions
|
@ -329,7 +329,7 @@ impl Server {
|
|||
|
||||
{
|
||||
let mut store = this.store_mut().await;
|
||||
store.add_connection(connection_id, user_id);
|
||||
store.add_connection(connection_id, user_id, user.admin);
|
||||
this.peer.send(connection_id, store.build_initial_contacts_update(contacts))?;
|
||||
|
||||
if let Some((code, count)) = invite_code {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue