Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

'Set a reminder' API support #1207

Merged
merged 1 commit into from
Apr 27, 2015
Merged

'Set a reminder' API support #1207

merged 1 commit into from
Apr 27, 2015

Conversation

x1ddos
Copy link
Contributor

@x1ddos x1ddos commented Apr 27, 2015

@@ -419,6 +419,9 @@ func patchUserNotifySettings(w http.ResponseWriter, r *http.Request) {
if v, ok := body["notify"].(bool); ok {
data.Enabled = v
}
if v, ok := body["io"].(bool); ok {
Copy link
Contributor

Choose a reason for hiding this comment

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

"iostart" might be more descriptive

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@x1ddos
Copy link
Contributor Author

x1ddos commented Apr 27, 2015

PTAL

@jeffposnick
Copy link
Contributor

👍, but just double-checking—will there be logic to actually send the notifications in a follow-up PR? Or is there already generic server-side logic in place around notifications that you can just repurpose for iostart?

@x1ddos
Copy link
Contributor Author

x1ddos commented Apr 27, 2015

There's currenlty no code to notify about either I/O or sessions start, only to send notifications about changes. I will added it later on, probably for phase3 launch or earlier.

jeffposnick added a commit that referenced this pull request Apr 27, 2015
@jeffposnick jeffposnick merged commit a0df1f3 into master Apr 27, 2015
@jeffposnick jeffposnick deleted the notify-io-api branch April 27, 2015 20:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants