Skip to content

Commit

Permalink
Drop dead code.
Browse files Browse the repository at this point in the history
  • Loading branch information
jq-rs committed Aug 21, 2022
1 parent c8d87fd commit 1aae865
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions js/mlestalk.js
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ async function presenceChannelListShow() {
}
}

async function channelListShow() {
function channelListShow() {
let cnt;
gIsChannelListView = true;
gActiveChannel = null;
Expand Down Expand Up @@ -1405,6 +1405,7 @@ async function reconnect(uid, channel) {
}

gIsReconnect[channel] = true;
//console.log("Sleeping " + gReconnTimeout[channel]);
await sleep(gReconnTimeout[channel]);
gReconnTimeout[channel] *= 2;
gWebWorker.postMessage(["reconnect", null, uid, channel, gPrevBdKey[channel]]);
Expand All @@ -1422,16 +1423,6 @@ function syncReconnect() {
}
}

/* Online reconnect */
function onlineReconnect() {
for (let channel in gMyChannel) {
if (gInitOk[channel] && gMyName[channel] && gMyChannel[channel]) {
gWebWorker.postMessage(["reconnect", null, gMyName[channel], gMyChannel[channel], gPrevBdKey[channel]]);
sendEmptyJoin(gMyChannel[channel]);
}
}
}

function scrollToBottom(channel) {
if(null == channel)
return;
Expand Down

0 comments on commit 1aae865

Please sign in to comment.