Merge pull request #2236 from aaronraimist/leave-room-button
Change leave room button text, OK -> Leavepull/21833/head
commit
879ef7f52b
|
@ -1034,6 +1034,7 @@ export default React.createClass({
|
||||||
{ warnings }
|
{ warnings }
|
||||||
</span>
|
</span>
|
||||||
),
|
),
|
||||||
|
button: _t("Leave"),
|
||||||
onFinished: (shouldLeave) => {
|
onFinished: (shouldLeave) => {
|
||||||
if (shouldLeave) {
|
if (shouldLeave) {
|
||||||
const d = MatrixClientPeg.get().leave(roomId);
|
const d = MatrixClientPeg.get().leave(roomId);
|
||||||
|
|
Loading…
Reference in New Issue