Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit d2d47bd

Browse files
author
Weblate
committed
Merge remote-tracking branch 'origin/develop' into develop
2 parents af7a82c + 739a120 commit d2d47bd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/structures/MatrixChat.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ module.exports = React.createClass({
383383

384384
MatrixClientPeg.get().leave(payload.room_id).done(() => {
385385
modal.close();
386-
if (this.currentRoomId === payload.room_id) {
386+
if (this.state.currentRoomId === payload.room_id) {
387387
dis.dispatch({action: 'view_next_room'});
388388
}
389389
}, (err) => {

src/components/structures/RoomView.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,7 +1463,7 @@ module.exports = React.createClass({
14631463

14641464
// We have no room object for this room, only the ID.
14651465
// We've got to this room by following a link, possibly a third party invite.
1466-
var room_alias = this.state.room_alias;
1466+
const roomAlias = this.state.roomAlias;
14671467
return (
14681468
<div className="mx_RoomView">
14691469
<RoomHeader ref="header"
@@ -1476,7 +1476,7 @@ module.exports = React.createClass({
14761476
onForgetClick={ this.onForgetClick }
14771477
onRejectClick={ this.onRejectThreepidInviteButtonClicked }
14781478
canPreview={ false } error={ this.state.roomLoadError }
1479-
roomAlias={room_alias}
1479+
roomAlias={roomAlias}
14801480
spinner={previewBarSpinner}
14811481
inviterName={inviterName}
14821482
invitedEmail={invitedEmail}

0 commit comments

Comments
 (0)