ForNeVeR / Kaiwa

A modern XMPP Web client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Specifying many MUCs to auto-join on app load

michalrus opened this issue · comments

Other webchat XMPP clients (Converse.js, Candy) offer configuration options to specify which MUCs to auto-join when the client webapp is loaded.

How to do that with Kaiwa? And how to specify more than one room?

I imagine it would ideally happen somewhere here:

localStorage.config = JSON.stringify({
jid: jid,
server: jid.slice(jid.indexOf('@') + 1),
wsURL: wsURL,
boshURL: boshURL,
transports: [transport],
credentials: {
password: password
},
saveCredentials: !publicComputer,
softwareVersion: softwareVersion
});

… but it doesn’t.

Halp! 🙏

(Kind of related to #232).

Kaiwa read bookmarks and join rooms which marked with "autojoin" flag on server

I see. Do you test it with Ejabberd, tho? It doesn’t seem to save the joined MUCs to bookmarks (and it doesn’t request MAM?)?

@michalrus well, joining the bookmarks and saving the rooms to the bookmarks are two distinct features. Please file a separate issue if the bookmarks aren't saved for you.

Also, I've no idea why it should or shouldn't request MAM, please file an issue also.