diff --git a/users/templates/users/base.html b/users/templates/users/base.html index 53c39ed..3d572d9 100644 --- a/users/templates/users/base.html +++ b/users/templates/users/base.html @@ -719,6 +719,10 @@ $(document).ready(function(){ const mainwebsocket = new WebSocket(ws_string+window.location.host+"/ws/") mainwebsocket.onmessage = function(e) { + + console.log(e); + + if(e["data"] != "presence_update") { //HANDLER FOR ALL PUSHNOTIFICATIONS