add nostream flag
This commit is contained in:
1 parent
66038368a6
commit
00b9814f6e
1 file changed
+2
-2
+2
-2
@@ -239,9 +239,9 @@ async def generate(
|
|||||||
f"2. конфиг бота настроен неправильно и надо связаться с тем кто его хостит"
|
f"2. конфиг бота настроен неправильно и надо связаться с тем кто его хостит"
|
||||||
return text
|
return text
|
||||||
|
|
||||||
if stream_cf == "native" and user_id == chat_id:
|
if stream_cf == "native" and user_id == chat_id and settings.get("nostream") == False:
|
||||||
stream = True
|
stream = True
|
||||||
elif stream_cf == "edit" and chat_id and message_id:
|
elif stream_cf == "edit" and chat_id and message_id and settings.get("nostream") == False:
|
||||||
stream = True
|
stream = True
|
||||||
else:
|
else:
|
||||||
stream = False
|
stream = False
|
||||||
|
|||||||
Reference in new issue
Block a user