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

Make the notification slider work #1982

Merged
merged 5 commits into from
Aug 18, 2016
Merged

Make the notification slider work #1982

merged 5 commits into from
Aug 18, 2016

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Aug 18, 2016

Requires matrix-org/matrix-react-sdk#420

dbkr added 3 commits August 12, 2016 15:19
Can't yet set loud / mute
Still WIP though: need to make vector work with the 'contains display name' rule being an override
Since it's now used in RoomTile. Remove the vector prefix since it's no longer really a 'vector' thing
_save: function( areNotifsMuted ) {
var self = this;
_save: function(newState) {
const oldState = this.state.roomNotifState;
const roomId = this.props.room.roomId;
var cli = MatrixClientPeg.get();

if (!cli.isGuest()) {
Copy link
Member

Choose a reason for hiding this comment

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

invert this condition and return early?

@richvdh richvdh assigned dbkr and unassigned richvdh Aug 18, 2016
@dbkr dbkr assigned richvdh and unassigned dbkr Aug 18, 2016
@dbkr
Copy link
Member Author

dbkr commented Aug 18, 2016

(We should do the thing to make it use the react-sdk branch of the same name if it exists...)

@richvdh
Copy link
Member

richvdh commented Aug 18, 2016

(We should do the thing to make it use the react-sdk branch of the same name if it exists...)

yeah but omgthefaff

@richvdh
Copy link
Member

richvdh commented Aug 18, 2016

LGTM

@richvdh richvdh assigned dbkr and unassigned richvdh Aug 18, 2016
@dbkr dbkr merged commit fbbbd44 into develop Aug 18, 2016
@t3chguy t3chguy deleted the dbkr/make_notif_silder_work branch May 12, 2022 08:55
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