You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-19 05:22:13 +03:00
AppTile: Do not test for electron platform
The method platform method is instead stubbed on all other platforms.
This commit is contained in:
@@ -136,7 +136,7 @@ export default React.createClass({
|
||||
},
|
||||
|
||||
_onMessage(event) {
|
||||
if (!PlatformPeg.get().isElectron() || this.props.type !== 'jitsi') {
|
||||
if (this.props.type !== 'jitsi') {
|
||||
return;
|
||||
}
|
||||
if (!event.origin) {
|
||||
|
||||
Reference in New Issue
Block a user