AppTile: Do not test for electron platform

The method platform method is instead stubbed on all other platforms.
pull/21833/head
Robert Swain 2017-09-25 17:13:18 +02:00
parent 7f1d8834a2
commit 6e49926228
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ export default React.createClass({
}, },
_onMessage(event) { _onMessage(event) {
if (!PlatformPeg.get().isElectron() || this.props.type !== 'jitsi') { if (this.props.type !== 'jitsi') {
return; return;
} }
if (!event.origin) { if (!event.origin) {