From cadc4076c58d7403389eff584368b85d966154d2 Mon Sep 17 00:00:00 2001 From: n9k Date: Sat, 16 Jul 2022 22:09:59 +0000 Subject: [PATCH] Bugfix: actually deverify absent users Was using the `deverify` function which is for ratelimiting chat, so it never did anything. --- anonstream/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anonstream/tasks.py b/anonstream/tasks.py index 65b0247..d01233c 100644 --- a/anonstream/tasks.py +++ b/anonstream/tasks.py @@ -66,7 +66,7 @@ async def t_sunset_users(timestamp, iteration): # Deverify absent users for user in get_absent_users(timestamp): - deverify(user, timestamp=timestamp) + user['verified'] = False # Remove as many absent users as possible