| Index: remoting/webapp/host_controller.js
|
| diff --git a/remoting/webapp/host_controller.js b/remoting/webapp/host_controller.js
|
| index f780be717657bb06e5bfbfc8671370ac1b7e17f4..a468f109af76cd3da77df694ea11a61d1521720a 100644
|
| --- a/remoting/webapp/host_controller.js
|
| +++ b/remoting/webapp/host_controller.js
|
| @@ -406,8 +406,10 @@ remoting.HostController.prototype.updatePin = function(newPin, onDone,
|
| * callback.
|
| */
|
| remoting.HostController.prototype.getLocalHostState = function(onDone) {
|
| - this.hostDispatcher_.getDaemonState(onDone, function() {
|
| - onDone(remoting.HostController.State.NOT_IMPLEMENTED);
|
| + this.hostDispatcher_.getDaemonState(onDone, function(error) {
|
| + onDone(remoting.isMe2MeSupported()
|
| + ? remoting.HostController.State.NOT_INSTALLED
|
| + : remoting.HostController.State.NOT_IMPLEMENTED);
|
| });
|
| };
|
|
|
|
|