Software /
code /
prosody-modules
File
mod_jsxc/templates/template.js @ 6156:bcad6baa4fc3
mod_muc_moderation: partial support for XEP-0425 v0.3.0 (no tombstones)
author | nicoco <nicoco@nicoco.fr> |
---|---|
date | Fri, 17 Jan 2025 10:20:00 +0100 |
parent | 4825:4bdfd83e091f |
line wrap: on
line source
$(function() { let jsxc = new JSXC({ loadConnectionOptions: function(username, password) { return Promise.resolve(%s); } }); let formElement = $('#jsxc_login_form'); let usernameElement = $('#jsxc_username'); let passwordElement = $('#jsxc_password'); jsxc.watchForm(formElement, usernameElement, passwordElement); });