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

Change leave room button text, OK -> Leave
pull/21833/head
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
1 changed files with 1 additions and 0 deletions

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);