Merge pull request #2236 from aaronraimist/leave-room-button

Change leave room button text, OK -> Leave
This commit is contained in:
Travis Ralston 2018-10-22 20:18:07 -06:00 committed by GitHub
commit 879ef7f52b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1034,6 +1034,7 @@ export default React.createClass({
{ warnings }
</span>
),
button: _t("Leave"),
onFinished: (shouldLeave) => {
if (shouldLeave) {
const d = MatrixClientPeg.get().leave(roomId);