feat: updating teh data from wolves should now also update roles for whoever changed.

This should lead to faster activations of folks who have previously linked, join a server, then get membership.

Closes #6
This commit is contained in:
silver 2023-11-25 21:15:07 +00:00
parent 7303b5782c
commit 3779222a38
4 changed files with 127 additions and 23 deletions

View file

@ -59,6 +59,6 @@ async fn bulk_check(ctx: Arc<Context>) {
let db = db_lock.read().await;
for server_config in get_server_config_bulk(&db).await {
update_server(&db, &ctx, &server_config, &[]).await;
update_server(&ctx, &server_config, &[], &vec![]).await;
}
}