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

Get and display a user's pushers in settings #1374

Merged
merged 3 commits into from
Apr 12, 2016
Merged

Get and display a user's pushers in settings #1374

merged 3 commits into from
Apr 12, 2016

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Apr 12, 2016

This is mostly groundwork for email notifications check box, but this makes it trivial to list the pushers on a user's account so adding this too because it could be a useful feature.

Requires matrix-org/synapse#716 to work but will just display an error message on older servers.

Requires matrix-org/matrix-js-sdk#125 (already merged).

Really this is so (in a subsequent PR) we can show whether a user has an email pusher, but we can basically display the list of pushers for free, so adding this too.
if (this.state.pushers === undefined) {
devicesSection = <div className="error">Unable to fetch device list</div>
} else if (this.state.pushers.length == 0) {
devicesSection = <div><i>No devices are push notifications</i></div>
Copy link
Member

Choose a reason for hiding this comment

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

missing word?

Copy link
Member

Choose a reason for hiding this comment

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

would prefer to see a CSS class than explicit <i>

@richvdh
Copy link
Member

richvdh commented Apr 12, 2016

lgtm otherwise

@richvdh richvdh assigned dbkr and unassigned richvdh Apr 12, 2016
@dbkr dbkr merged commit be55882 into develop Apr 12, 2016
@t3chguy t3chguy deleted the dbkr/get_pushers branch May 12, 2022 08:54
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