aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/assets/js/notif_msg.min.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/assets/js/notif_msg.min.js')
-rw-r--r--app/src/main/assets/js/notif_msg.min.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/src/main/assets/js/notif_msg.min.js b/app/src/main/assets/js/notif_msg.min.js
new file mode 100644
index 00000000..cb965d02
--- /dev/null
+++ b/app/src/main/assets/js/notif_msg.min.js
@@ -0,0 +1,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)
+} \ No newline at end of file