forked from kate/uniborg
Merge branch 'superblock' into kate
This commit is contained in:
commit
7f789c23c9
|
@ -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 asyncio
|
||||||
import time
|
|
||||||
from telethon import events
|
from telethon import events
|
||||||
import telethon.tl.functions as tlf
|
import telethon.tl.functions as tlf
|
||||||
from telethon.tl.types import InputPeerChannel, UpdateUserBlocked
|
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
|
# How often to fetch the full list of blocked users
|
||||||
REFETCH_TIME = 60
|
REFETCH_TIME = 60
|
||||||
|
|
||||||
blocked_user_ids = set()
|
blocked_user_ids = set()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue