We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f60d63 commit 7d9940aCopy full SHA for 7d9940a
forward/forward.py
@@ -53,7 +53,8 @@ async def _handle_automatic_unblock(self):
53
54
async def _process_expired_blocks(self):
55
async with self.config.blocked() as blocked:
56
- for userid, until in blocked.items():
+ for userid in list(blocked.keys()):
57
+ until = blocked[userid]
58
if datetime.now(timezone.utc).timestamp() > until:
59
del blocked[userid]
60
0 commit comments