From 0250410ca754b8f24594df608536bcf085dd1efa Mon Sep 17 00:00:00 2001
From: Roman Sergienko <romasergienko@outlook.com>
Date: Sun, 11 Oct 2026 16:29:50 +0000
Subject: [PATCH] feat web: чат пузырями (свои/чужие), превью реплаев, подгрузка фото/стикеров/медиа через бота

---
 flood.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/flood.py b/flood.py
index c702cb2..41fa980 100644
--- a/flood.py
+++ b/flood.py
@@ -113,7 +113,7 @@
             "antiflood: chat=%s user=%s messages=%s/%ss mute=%ss alarm=%s",
             chat_id, user_id, cfg["flood_count"], cfg["flood_window"], mute, on,
         )
-        await apply_mute(chat_id, user_id, u.full_name, ts + mute, 0, "Превышен лимит сообщений")
+        await apply_mute(chat_id, user_id, u.full_name, mute, 0, "Превышен лимит сообщений")
         return
 
     # Копипаста во время тревоги: одинаковый текст от 3+ разных аккаунтов.
@@ -129,4 +129,4 @@
             logger.info("antiflood: копипаста chat=%s users=%s", chat_id, users)
             for uid in users:
                 if not await _is_staff(chat_id, uid):
-                    await apply_mute(chat_id, uid, str(uid), ts + cfg["flood_alarm_mute"], 0, "Копипаста при тревоге")
+                    await apply_mute(chat_id, uid, str(uid), cfg["flood_alarm_mute"], 0, "Копипаста при тревоге")

--
Gitblit v1.9.3