comparison mod_candy/www_files/index.html @ 2450:36ffe9d11132

mod_candy: Add config option for a list of rooms to join
author Kim Alvefur <zash@zash.se>
date Fri, 20 Jan 2017 01:24:32 +0100
parents 7814a5c7fee8
children 51cf82d36a8a
comparison
equal deleted inserted replaced
2449:c9372cfac3b7 2450:36ffe9d11132
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
25 autojoin: true 25 autojoin: Prosody.autojoin
26 }, 26 },
27 view: { assets: 'res/' } 27 view: { assets: 'res/' }
28 }); 28 });
29 29
30 if(Prosody.anonymous) { 30 if(Prosody.anonymous) {