This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +18
-3
lines changed
src/components/structures Expand file tree Collapse file tree 3 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 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+
116Changes 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 )
Original file line number Diff line number Diff line change 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" : {
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ import PageTypes from '../../PageTypes';
3838
3939import createRoom from "../../createRoom" ;
4040import * as UDEHandler from '../../UnknownDeviceErrorHandler' ;
41- import { _t } from '../../languageHandler' ;
41+ import { _t , getCurrentLanguage } from '../../languageHandler' ;
4242
4343module . 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 }
You can’t perform that action at this time.
0 commit comments