AppTile: Do not test for electron platform

The method platform method is instead stubbed on all other platforms.
This commit is contained in:
Robert Swain 2017-09-25 17:13:18 +02:00
parent 7f1d8834a2
commit 6e49926228

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) {