I'm creating a web XMPP client to connect to an XMPP ejabberd server and I have the following problem:
- My client can send messages just alright.
- The problem is when I try to receive messages. I only receive stanzas directed to my full JID, that is including the resource I am using, so I don't receive stanzas directed to my user@domain but I do receive stanzas sent to my user@domain/resource.
This is not an ideal situation since the other clients I need to communicate with work with bare JIDs.
I have little experience with Strophe so maybe someone with more experience can illustrate what I'm doing wrong. Thanks in advance!