getkaiwa / kaiwa

[UNMAINTAINED] A modern XMPP Web client
http://getkaiwa.com
MIT License
1.33k stars 154 forks source link

document how federation would work #19

Open jedahan opened 9 years ago

jedahan commented 9 years ago

How could myfriend@theirdomain.com join/send a message to the kaiwa running on mydomain.com? Is that even possible?

warcode commented 9 years ago

The XMPP server, if set up properly, will automatically deal with any direct communication between you and the added contact if on a different server.

Uncertain if the MUCs can be accessed.

jedahan commented 9 years ago

Yeah it seems like direct communication is fine, but no way to MUC ....

mwild1 commented 9 years ago

What problems are you having with MUC?

Do make sure you have a DNS entry for the MUC domain (which is required for joining from remote servers).

On 10 April 2015 at 23:19, Jonathan Dahan notifications@github.com wrote:

Yeah it seems like direct communication is fine, but no way to MUC ....

— Reply to this email directly or view it on GitHub https://github.com/digicoop/kaiwa/issues/19#issuecomment-91707273.

jedahan commented 9 years ago

OK so I made two digitalocean instances. a.mydomain.com, and b.mydomain.com. user1@a.mydomain.com, user2@b.mydomain.com .

I can add users to each others user lists and chat with each other, but if I am user1@a.mydomain.com, and I try to add:

channelB@chat.b.mydomain.com channelB@b.mydomain.com channelB@chat.mydomain.com

I cannot send any messages across from one to the other

sebu77 commented 9 years ago

The Prosody documentation may possibly help: http://prosody.im/doc/chatrooms http://prosody.im/doc/dns

jedahan commented 9 years ago

So I did docker -it sebu77/kaiwa-server and find /etc/prosody/ but nothing in that directory nor /app/ show the names of the rooms that I have as mucs, even though they show up in the web interface