aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2017-04-15 16:12:52 +0200
committertomsmeding <tom.smeding@gmail.com>2017-04-15 16:12:52 +0200
commite8114307ea979fadca4d2886bf922da16f7fc0a2 (patch)
tree70018b531ea43411d31b05b888736bc135f03bc9
parent78302ce933693aca5740e6f901592b6f07f65342 (diff)
webclient: Handle _push ping by doing nothing
-rw-r--r--webclient/client.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/webclient/client.html b/webclient/client.html
index 1219133..40d2df3 100644
--- a/webclient/client.html
+++ b/webclient/client.html
@@ -110,6 +110,8 @@ function reconnect(){
} else if(type=="join"){
var r=spl.word[2],u=spl.word[3];
addRoomEntry(r,"notice",[now(),"User '"+u+"' joined this room"]);
+ } else if(type=="ping"){
+ // Do nothing
} else {
alert("Unknown push message type '"+type+"'!");
}