Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Micro fix with a start command

Yevhenii Kulisidi90a54d4886c2
diff --git a/src/tg-integration/tg.update.ts b/src/tg-integration/tg.update.ts
index 9184e6429..e0ef17d54 100644
--- a/src/tg-integration/tg.update.ts
+++ b/src/tg-integration/tg.update.ts
@@ -33,7 +33,7 @@ export class SwetrixUpdate {
await ctx.reply(text, {
parse_mode: 'Markdown',
disable_web_page_preview: true,
- ...(user.telegramChatId && {
+ ...(user && {
reply_markup: {
keyboard: [[{ text: 'Projects' }]],
resize_keyboard: true,