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

Add maySendEvent to match maySendStateEvent #118

Merged
merged 2 commits into from
Mar 24, 2016
Merged

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Mar 23, 2016

Make them use the same function internally. Also add convenience maySendMessage. Also tests.

…unction internally. Also add convenience maySendMessage. Also tests.
* event of type `eventType` into this room.
* @param {string} type The type of event to test
* @param {string} userId The user ID of the user to test permission for
* @param {boolean} state If true, tests if the user may send a state
Copy link
Member

Choose a reason for hiding this comment

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

this doesn't exist

@richvdh
Copy link
Member

richvdh commented Mar 23, 2016

lgtm otherwise

@richvdh richvdh assigned dbkr and unassigned richvdh Mar 23, 2016
@richvdh richvdh merged commit 69c4d7b into develop Mar 24, 2016
@dbkr dbkr deleted the dbkr/maysendevent branch December 6, 2017 15:29
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