This commit is contained in:
2023-08-09 16:46:07 +03:00
parent e36af0a49c
commit 1207cdd105

View File

@@ -8,8 +8,14 @@ function getNewMessageSession (){
for(var i = 0;i < o.length;i++){
r[o[i].split("=")[0]] = o[i].split("=")[1];
}
let prs = JSON.parse(r['user_alerts'])
let prs_ = JSON.parse(prs)
let prs_ = null
if (r['user_alerts']){
let prs = JSON.parse(r['user_alerts'])
prs_ = JSON.parse(prs)
} else {
//
}
// if (prs === "{'new_message': True}"){
// prs = {
// 'new_message' : 'True'
@@ -20,6 +26,7 @@ function getNewMessageSession (){
// }
// }
// b = cookieS
// let b = CookieStore.getAll()
return prs_;
}