Can't get send_groupchat working with OpenFire, nothing logged
hussfelt opened this issue · 1 comments
hussfelt commented
Trying to run this, and it logs nothing, doesn't exist and doesn't work.
$client->xeps['0045']->send_groupchat($room_jid, $messages);
I have tried both having $room_jid
as an instance of XMPPJid combined with nickname and room, and also just passing the actual room_jid (room@domain.tld).
Have anyone got this jabber-implementation working?
hussfelt commented
Never mind, programaticall error. I had a while-loop waiting for messages, and in that while-loop querying the function send_groupchat. The app needed to exit the closure function to send the message. :)
Sorry!