Change leave room button text, OK -> Leave

Signed-off-by: Aaron Raimist <aaron@raim.ist>
pull/21833/head
Aaron Raimist 2018-10-22 20:55:21 -05:00
parent 9976c4eba5
commit 41bd6e4366
No known key found for this signature in database
GPG Key ID: 37419210002890EF
1 changed files with 1 additions and 0 deletions

View File

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