xmppjs / hubot-xmpp

XMPP adapter for Hubot
181 stars 103 forks source link

hubot does not appear in more than one MultiUserChannel #115

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hi,

I've set up hubot with Prosody 0.10 on Debian8. CLI communication works, direct XMPP conversaiton with MyBot aswell and MyBot appears in a hubt-test MUC I've set up (where communication works as well).

No I killed MyBot and tried to add another (regular) MUC via:

export HUBOT_XMPP_ROOMS=hubot-test@conference.MyXMPPServer.tld,MyMUC@conference.MyXMPPServer.tld

Problem: MyBot still only appears in hubot-test@conference.MyXMPPServer.tld but not in MyMUC@conference.MyXMPPServer.tld.

What did I wrong?

ghost commented 7 years ago

Solved problem using MUC-ID instead of MUC-name.

Edit: actually there is no MUC-id. I was just confused that Conversations uses a generated number creating a MUC and displays the MUC-topic instead of MUC-name (the generated number) as default. So what I expected to be an ID is the MUC-name.

markstory commented 7 years ago

Thanks for the update @saljut7!