From ecb3921260d9655ba0e117dbc958157834e22e1c Mon Sep 17 00:00:00 2001 From: Conan Date: Wed, 30 Jul 2025 04:22:23 +0800 Subject: [PATCH] push: filter muted rooms (#115) --- pkg/connector/push.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/connector/push.go b/pkg/connector/push.go index 34e7a3d6..2be3b482 100644 --- a/pkg/connector/push.go +++ b/pkg/connector/push.go @@ -422,7 +422,7 @@ func (t *TelegramClient) RegisterPushNotifications(ctx context.Context, pushType return fmt.Errorf("unsupported push type %s", pushType) } _, err := t.client.API().AccountRegisterDevice(ctx, &tg.AccountRegisterDeviceRequest{ - NoMuted: false, + NoMuted: true, TokenType: tokenType, Token: token, AppSandbox: PushAppSandbox,