Skip to content

Commit

Permalink
Ref #8, remove the re-subscribe logic
Browse files Browse the repository at this point in the history
Turn our skygear SDK has handled all the reconnect and resubscribe after
connection close
  • Loading branch information
jasonkit committed Aug 22, 2016
1 parent 6910f6c commit cb4fe86
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion daemon-trigger-skygear/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ function onConnectionOpen() {

function onConnectionClose() {
console.log("daemon-trigger-skygear: connection close");
skygear.on(channel, onReceiveOpenDoor);
}

function onReceiveOpenDoor(data) {
Expand Down

0 comments on commit cb4fe86

Please sign in to comment.