From 3e3bcf2338a69d8532acaf36efa9ac9f4f918a24 Mon Sep 17 00:00:00 2001 From: Jeffrey Linwood Date: Thu, 11 May 2017 07:33:31 -0500 Subject: [PATCH] Update Chat SDK to 1.0 for GA --- static/chat/index.html | 2 +- static/chat/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/static/chat/index.html b/static/chat/index.html index 160f904..fa5ac33 100755 --- a/static/chat/index.html +++ b/static/chat/index.html @@ -19,7 +19,7 @@ - + diff --git a/static/chat/index.js b/static/chat/index.js index 5eb7d69..980d8ff 100755 --- a/static/chat/index.js +++ b/static/chat/index.js @@ -53,7 +53,7 @@ $(function() { // Initialize the Chat client chatClient = new Twilio.Chat.Client(data.token); - chatClient.getUserChannels().then(createOrJoinGeneralChannel); + chatClient.getSubscribedChannels().then(createOrJoinGeneralChannel); }); function createOrJoinGeneralChannel() {