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

Adds new endpoint to update notification settings #3122

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

JorgeMucientes
Copy link
Contributor

@JorgeMucientes JorgeMucientes commented Dec 29, 2024

Adds new endpoint to update (enable/disable) notification settings for a given device and siteIds.

Changes can be tested in this PR where the endpoint is used to disable notification for unslected sites.

@@ -3,10 +3,7 @@ package org.wordpress.android.fluxc.network.rest.wpcom.notifications
import android.content.Context
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Real changes start at line 393 of this file. The rest is just automatic code reformatting.

@@ -14,12 +14,18 @@ import org.wordpress.android.fluxc.model.SiteModel
import org.wordpress.android.fluxc.model.notification.NoteIdSet
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Same, real changes start at line 600 of this file. The rest is just automatic code reformatting.

@JorgeMucientes JorgeMucientes requested review from hichamboushaba, irfano and hafizrahman and removed request for hichamboushaba December 30, 2024 15:48
Copy link
Contributor

@hafizrahman hafizrahman left a comment

Choose a reason for hiding this comment

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

Looks good. I've also tested (and reviewed) the other PR so this feels good to go to me 👍🏼

@hafizrahman hafizrahman merged commit 8555e9e into trunk Jan 3, 2025
14 checks passed
@hafizrahman hafizrahman deleted the issue/13213-disable-notifications branch January 3, 2025 08:32
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.

2 participants