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

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