none
This commit is contained in:
parent
af807b5bec
commit
525bc41c7d
@ -12,14 +12,11 @@ class Chats(BASE):
|
||||
self.chat_id = chat_id
|
||||
self.chat_name = chat_name
|
||||
|
||||
|
||||
Chats.__table__.create(checkfirst=True)
|
||||
|
||||
|
||||
CHATS_LOCK = threading.RLock()
|
||||
CHATS_DATA = set()
|
||||
|
||||
|
||||
def del_chat(chat_id):
|
||||
with CHATS_LOCK:
|
||||
chat = SESSION.query(Chats).get(str(chat_id))
|
||||
|
Loading…
Reference in New Issue
Block a user