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

Commit 7adc203

Browse files
committed
Merge remote-tracking branch 'origin/develop' into develop
2 parents 6abcf1a + 9e0aca5 commit 7adc203

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
Changes in [0.9.0](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v0.9.0) (2017-06-02)
2+
===================================================================================================
3+
[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v0.9.0-rc.2...v0.9.0)
4+
5+
* sync pt with pt_BR
6+
[\#1009](https://github.com/matrix-org/matrix-react-sdk/pull/1009)
7+
* Update from Weblate.
8+
[\#1008](https://github.com/matrix-org/matrix-react-sdk/pull/1008)
9+
* Update from Weblate.
10+
[\#1003](https://github.com/matrix-org/matrix-react-sdk/pull/1003)
11+
* allow hiding redactions, restoring old behaviour
12+
[\#1004](https://github.com/matrix-org/matrix-react-sdk/pull/1004)
13+
* Add missing translations
14+
[\#1005](https://github.com/matrix-org/matrix-react-sdk/pull/1005)
15+
116
Changes in [0.9.0-rc.2](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v0.9.0-rc.2) (2017-06-02)
217
=============================================================================================================
318
[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v0.9.0-rc.1...v0.9.0-rc.2)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "matrix-react-sdk",
3-
"version": "0.9.0-rc.2",
3+
"version": "0.9.0",
44
"description": "SDK for matrix.org using React",
55
"author": "matrix.org",
66
"repository": {

src/components/structures/MatrixChat.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import PageTypes from '../../PageTypes';
3838

3939
import createRoom from "../../createRoom";
4040
import * as UDEHandler from '../../UnknownDeviceErrorHandler';
41-
import { _t } from '../../languageHandler';
41+
import { _t, getCurrentLanguage } from '../../languageHandler';
4242

4343
module.exports = React.createClass({
4444
displayName: 'MatrixChat',
@@ -795,7 +795,7 @@ module.exports = React.createClass({
795795
this._teamToken = teamToken;
796796
dis.dispatch({action: 'view_home_page'});
797797
} else if (this._is_registered) {
798-
if (this.props.config.welcomeUserId) {
798+
if (this.props.config.welcomeUserId && getCurrentLanguage().startsWith("en")) {
799799
createRoom({dmUserId: this.props.config.welcomeUserId});
800800
return;
801801
}

0 commit comments

Comments
 (0)