Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"telegramEnabled" remains always true, even when trying to disable Telegram notifications (api) #4028

Open
1 task done
LetsGoDude opened this issue Jan 28, 2025 · 0 comments

Comments

@LetsGoDude
Copy link

LetsGoDude commented Jan 28, 2025

Description

Hi Overseerr Team,

I've noticed that regardless of how I send the telegramEnabled field in the POST /api/v1/user/<ID>/settings/notifications endpoint, Overseerr always retains telegramEnabled: true.
Setting it to false in the request body does not actually disable Telegram notifications. Instead notificationTypes.telegram is set to 0 (e.g., "telegram": 0)—at which point telegramEnabled still remains true, even though notifications are effectively disabled.

Not a big problem, but it just doesn't behave as you would expect.
I bypassed it by setting ‘notificationTypes’: {
‘telegram": 3661 } to activate and 0 to deactivate.

Version

1.33.2

Steps to Reproduce

Make a POST request to /api/v1/user/<OVERSEERR_USER_ID>/settings/notifications with:

# Nothing applies here. Notification Types all remain deactivated.

{
  "notificationTypes": {
    "telegramEnabled": true
  },
  "telegramSendSilently": true
}
{
  "notificationTypes": {
    "telegramEnabled": false
  },
  "telegramSendSilently": true
}

# Notification types are all deactivated, but ‘telegramEnabled’ remains true.

Screenshots

Image

Logs

Platform

desktop

Device

x86 PC AMD

Operating System

ubuntu 24.04 desktop

Browser

Firefox / Chrome

Additional Context

No response

Code of Conduct

  • I agree to follow Overseerr's Code of Conduct
@LetsGoDude LetsGoDude changed the title "telegramEnabled" remains always true, even when trying to disable Telegram notifications [API] "telegramEnabled" remains always true, even when trying to disable Telegram notifications Jan 28, 2025
@LetsGoDude LetsGoDude changed the title [API] "telegramEnabled" remains always true, even when trying to disable Telegram notifications "telegramEnabled" remains always true, even when trying to disable Telegram notifications (api) Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant