mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-29 23:31:09 +01:00
Merge pull request #2236 from aaronraimist/leave-room-button
Change leave room button text, OK -> Leave
This commit is contained in:
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…
x
Reference in New Issue
Block a user