Skip to content

Conversation

@shoom3301
Copy link
Contributor

Added a new method to unsubscribe an account from Telegram notifications.
The method is protected with checkSubscription, so only when user has a valid TG authorization they can perform the unsubscription.


return true
},
async removeSubscription(context) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this call never fails/returns false?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will throw inside of checkSubscription if there is no valid authorization

@shoom3301 shoom3301 merged commit 64a2872 into main Sep 2, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants