Merge branch 'superblock' into kate

This commit is contained in:
udf 2018-11-21 22:55:49 +02:00
commit 7f789c23c9
Signed by untrusted user: kate
GPG Key ID: E40724BAD73AF77B
1 changed files with 6 additions and 1 deletions

View File

@ -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()