mirror of https://github.com/vector-im/riot-web
Change leave room button text, OK -> Leave
Signed-off-by: Aaron Raimist <aaron@raim.ist>pull/21833/head
parent
9976c4eba5
commit
41bd6e4366
|
@ -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