I really like your book. Ever since I learned the capability of XMPP your book is the 1st one that helps me understand how it works.
I was able to configure OpenFire on my own laptop and modified the Hello example to use local connection manager and connects to local OpenFire server. However, in the OpenFire admin console, I can see that the session made from the Hello.js
is always shown as "Offline" under presence.
This is strange because if I make a connection using MatriX C# library, the user would show up online but if I make the connection using Strophe, it is always offline. Is there another command I have to call after Strophe's connection to make the user online?
What I am trying to do is to add a handler in Hello.js
for so that when I send a message using a C# compiled executable, my web page will display that message.
Right now this doesn't work. When I send a message from C#, the web page displays nothing. It seems only able to handle messages from the server when I use the "send_ping" method from Strophe.
By the way, I did modify the Handler to use "null" for all the parameters so it should match and handle all stanza received from server. So maybe OpenFire simply doesn't send any stanza to Strophe connection due to the session is offline.