mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08: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 }
|
||||
</span>
|
||||
),
|
||||
button: _t("Leave"),
|
||||
onFinished: (shouldLeave) => {
|
||||
if (shouldLeave) {
|
||||
const d = MatrixClientPeg.get().leave(roomId);
|
||||
|
Loading…
Reference in New Issue
Block a user