aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/assets/js/notif_msg.min.js
blob: cb965d02fef06ded27ee323103bf38319985e4ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
if(!window.hasOwnProperty("frost_notif_msg")){
console.log("Registering frost_notif_msg"),
window.frost_notif_msg=!0
;var finished=!1,x=new MutationObserver(function(e){
var o=document.querySelector("#threadlist_rows")
;o&&(console.log("Found message threads",o.outerHTML),
"undefined"!=typeof Frost&&Frost.handleHtml(o.outerHTML),
finished=!0,x.disconnect())
})
;x.observe(document,{
childList:!0,
subtree:!0
}),setTimeout(function(){
finished||(finished=!0,console.log("Message thread timeout cancellation"),
"undefined"!=typeof Frost&&Frost.handleHtml(""))
},2e4)
}