diff --git a/apps/api/src/services/telegram_gateway.py b/apps/api/src/services/telegram_gateway.py index 12914e85..f2c44e44 100644 --- a/apps/api/src/services/telegram_gateway.py +++ b/apps/api/src/services/telegram_gateway.py @@ -3123,6 +3123,15 @@ class TelegramGateway: is_group = chat_type in ("group", "supergroup") is_sre_group = str(chat_id) == str(settings.SRE_GROUP_CHAT_ID) + logger.info( + "group_routing_check", + chat_id=chat_id, + chat_type=chat_type, + is_group=is_group, + is_sre_group=is_sre_group, + sre_group_config=str(settings.SRE_GROUP_CHAT_ID), + ) + if is_group and is_sre_group: await self._handle_group_message(text, user_id, username, chat_id, message_id) return