Skip to content

Commit

Permalink
Merge pull request #20 from Gallegarmy/bugfix
Browse files Browse the repository at this point in the history
Dinner fix
  • Loading branch information
Qwor01 authored Sep 6, 2024
2 parents fa47aa1 + b4d6199 commit 95cf3de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions telegram_bot/dinner.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

logger = structlog.get_logger()

#FOOD_THREAD_ID = 4226
FOOD_THREAD_ID = 4226


def default_factory():
Expand All @@ -26,7 +26,7 @@ def async_only_dinner_chat(func):
async def wrapper(update: Update, context: ContextTypes.DEFAULT_TYPE):
if (
update.effective_message
#and update.effective_message.message_thread_id == FOOD_THREAD_ID
and update.effective_message.message_thread_id == FOOD_THREAD_ID
):
logger.info(
"Handling request in Food Topic thread",
Expand Down

0 comments on commit 95cf3de

Please sign in to comment.