diff --git a/index.html b/index.html index f5e5a008..e407731f 100644 --- a/index.html +++ b/index.html @@ -31,8 +31,8 @@ var APP_NAME = "TinodeReact/0.6"; // Host name and port to connect to - var HOST = "api.tinode.co"; - // var HOST = "localhost:6060"; + // var HOST = "api.tinode.co"; + var HOST = "localhost:6060"; // API key. Use https://github.com/tinode/chat/tree/master/keygen to generate your own var API_KEY = "AQEAAAABAAD_rAp4DJh05a1HAwFT3A6K"; @@ -538,12 +538,6 @@ console.log(invite); }, tnMeSubsUpdated: function(names) { - /*var subs = []; - Tinode.getMeTopic().contacts(function(cont) { - subs.push(cont); - }); - this.setState({subscriptions: subs}); - */ this.forceUpdate(); }, onSelectionChange: function(sel) { @@ -559,8 +553,8 @@ } contactNodes.push( -