ForNeVeR / Kaiwa

A modern XMPP Web client
MIT License
74 stars 13 forks source link

Specifying many MUCs to auto-join on app load #234

Open michalrus opened 6 years ago

michalrus commented 6 years ago

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:

https://github.com/ForNeVeR/Kaiwa/blob/a86d4080994d49e5e6195188e7fda230ba66d437/src/resources/js/login.js#L33-L46

… but it doesn’t.

Halp! :pray:

michalrus commented 6 years ago

(Kind of related to #232).

vitalyster commented 6 years ago

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

michalrus commented 6 years ago

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?)?

ForNeVeR commented 6 years ago

@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.