push: filter muted rooms (#115)

This commit is contained in:
Conan
2025-07-30 04:22:23 +08:00
committed by GitHub
parent e7fe66a23e
commit ecb3921260
+1 -1
View File
@@ -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,