From 8c0f04c0cb865f579c282476265d5d5fca75fe92 Mon Sep 17 00:00:00 2001 From: udf Date: Wed, 21 Nov 2018 22:03:25 +0200 Subject: [PATCH] Add license header --- stdplugins/superblock.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/stdplugins/superblock.py b/stdplugins/superblock.py index ed4849e..a85935f 100644 --- a/stdplugins/superblock.py +++ b/stdplugins/superblock.py @@ -1,5 +1,9 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + import asyncio -import time + from telethon import events import telethon.tl.functions as tlf from telethon.tl.types import InputPeerChannel, UpdateUserBlocked @@ -8,6 +12,7 @@ from telethon.tl.functions.contacts import GetBlockedRequest # How often to fetch the full list of blocked users REFETCH_TIME = 60 + blocked_user_ids = set()