feat: Send badge updates from message acks

This commit is contained in:
Zomatree
2024-07-20 20:49:22 +01:00
parent 7547fbe245
commit 32d1d5df2e
5 changed files with 87 additions and 23 deletions

View File

@@ -18,7 +18,7 @@ pub async fn start_workers(db: Database, authifier_db: authifier::Database) {
task::spawn(apple_notifications::worker(db.clone()));
for _ in 0..WORKER_COUNT {
task::spawn(ack::worker(db.clone()));
task::spawn(ack::worker(db.clone(), authifier_db.clone()));
task::spawn(last_message_id::worker(db.clone()));
task::spawn(process_embeds::worker(db.clone()));
task::spawn(web_push::worker(authifier_db.clone()));