Software /
code /
prosody-modules
Comparison
mod_candy/www_files/index.html @ 2454:51cf82d36a8a
mod_candy: Add support for enabling Candy debug mode from Prosodys config
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 20 Jan 2017 01:30:34 +0100 |
parent | 2450:36ffe9d11132 |
comparison
equal
deleted
inserted
replaced
2453:f36a6dcc05ef | 2454:51cf82d36a8a |
---|---|
14 <script type="text/javascript"> | 14 <script type="text/javascript"> |
15 $(document).ready(function() { | 15 $(document).ready(function() { |
16 Candy.init(Prosody.connect_path, { | 16 Candy.init(Prosody.connect_path, { |
17 core: { | 17 core: { |
18 // only set this to true if developing / debugging errors | 18 // only set this to true if developing / debugging errors |
19 debug: false, | 19 debug: Prosody.debug, |
20 // autojoin is a *required* parameter if you don't have a plugin (e.g. roomPanel) for it | 20 // autojoin is a *required* parameter if you don't have a plugin (e.g. roomPanel) for it |
21 // true | 21 // true |
22 // -> fetch info from server (NOTE: does only work with openfire server) | 22 // -> fetch info from server (NOTE: does only work with openfire server) |
23 // ['test@conference.example.com'] | 23 // ['test@conference.example.com'] |
24 // -> array of rooms to join after connecting | 24 // -> array of rooms to join after connecting |