From fc7369f586c1f7dc14c7968855f8014f42de2488 Mon Sep 17 00:00:00 2001 From: Gene S Date: Wed, 17 Feb 2016 19:05:43 -0800 Subject: [PATCH] refactored message background colos --- index.html | 283 ++++++----------------------------------------------- 1 file changed, 31 insertions(+), 252 deletions(-) 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( -