From ce70aacdb868bd4cd23d4d2c27dda771bfe0ea8e Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sun, 29 Mar 2026 14:25:33 +0300 Subject: [PATCH] handletelegram: don't log presence updates --- pkg/connector/handletelegram.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/connector/handletelegram.go b/pkg/connector/handletelegram.go index 685dd18c..221058bc 100644 --- a/pkg/connector/handletelegram.go +++ b/pkg/connector/handletelegram.go @@ -972,6 +972,9 @@ func (t *TelegramClient) onUpdate(ctx context.Context, e tg.Entities, upd tg.Upd return t.onChat(ctx, e, update) case *tg.UpdatePhoneCall: return t.onPhoneCall(ctx, e, update) + case *tg.UpdateUserStatus: + // ignored + return nil default: zerolog.Ctx(ctx).Debug().Type("update_type", update).Msg("Unhandled update type") return nil