> Basically if users are logged in my site then they should enter the
> room as participants, if not they should enter the room as visitors,
> so that they can see past history and if possible current
> conversation.
I don't think you want to do quite this, as visitors have no speaking
privileges. Although perhaps you mean to "lock out" people not using
your client?
Both participant and visitor are roles in MUC, meaning they are
temporary assignments, not permanent ones. There are two ways you
could go about implementing this.
1) Write a bot that sits in the room with admin privileges and
responds to requests for participant status and grants them. Then the
webclient can be modified to send such a request after joining one of
your rooms. Or perhaps the bot can look for signs that the user is
using your speeqe client.
2) Write a MUC plugin to do the job the bot above would do. You'll
probably need to use Palaver as your chat server, as I don't think
ejabberd's mod_muc is easily extensible in this way.
jack.