aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--supergenerator.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/supergenerator.py b/supergenerator.py
index 19c235d..3695da1 100644
--- a/supergenerator.py
+++ b/supergenerator.py
@@ -239,9 +239,9 @@ async def generate(
f"2. конфиг бота настроен неправильно и надо связаться с тем кто его хостит"
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
- 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
else:
stream = False