b4dafcc45b
- Add support for switching ephemerality after message creation - Move more methods from ChatBox and ChatRoom to utils/stanza.js - Rename 'ephemeral' to 'is_ephemeral' since it's a boolean
34 lines
1.1 KiB
HTML
34 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>Converse.js</title>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta name="description" content="Converse.js: A free chat client for your website" />
|
|
<link rel="shortcut icon" type="image/ico" href="favicon.ico"/>
|
|
</head>
|
|
<body class="reset"></body>
|
|
<script>
|
|
converse.plugins.add('converse-debug', {
|
|
initialize () {
|
|
const { _converse } = this;
|
|
window._converse = _converse;
|
|
}
|
|
});
|
|
converse.initialize({
|
|
auto_away: 300,
|
|
auto_register_muc_nickname: true,
|
|
debug: true,
|
|
enable_smacks: true,
|
|
i18n: 'en',
|
|
message_archiving: 'always',
|
|
muc_domain: 'conference.chat.example.org',
|
|
muc_respect_autojoin: true,
|
|
view_mode: 'fullscreen',
|
|
websocket_url: 'ws://chat.example.org:5380/xmpp-websocket',
|
|
whitelisted_plugins: ['converse-debug'],
|
|
});
|
|
</script>
|
|
</html>
|