view mod_conversejs/template.js @ 3798:9b4fd2553365

mod_rest: Handle receipt requests on message stanzas
author Kim Alvefur <zash@zash.se>
date Mon, 30 Dec 2019 05:18:52 +0100
parents 1921ae4449b8
children
line wrap: on
line source

if(typeof converse == 'undefined') {
	var div = document.createElement("div");
	var noscript = document.getElementsByTagName("noscript")[0];
	div.innerHTML = noscript.innerText;
	document.body.appendChild(div);
} else {
	converse.initialize(%s);
}