~verterok/account-polld/handle-account-created

« back to all changes in this revision

Viewing changes to cmd/account-polld/main.go

  • Committer: Guillermo Gonzalez
  • Date: 2014-08-12 23:38:36 UTC
  • Revision ID: guillermo.gonzalez@canonical.com-20140812233836-rnp3c7ro61iv3d3p
use the correct url for the accounts settings page

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
                        summary := "new account blah blah"
121
121
                        body := "a new account was created, please enable notifications for it."
122
122
                        epoch := time.Now().Unix()
123
 
                        action := "system://settings/account"
 
123
                        action := "settings://personal/online-accounts"
124
124
                        pushMsg := *plugins.NewStandardPushMessage(summary, body, action, "", epoch)
125
125
                        msgs := []plugins.PushMessage{pushMsg}
126
126
                        postWatch <- &PostWatch{messages: msgs, appId: "_ubuntu-system-settings"}