Has anyone been able to implement mongooseim's muc light (xep-xxx) using xmppframework on ios? I have been trying to create a room but no progress so far. I can't receive any response from mongooseim server whenever I try to send a request for creating a muc light.
The code that I have tried is:
let roomTitle = "\(title)@muclight.hostname.co"
print("Creating room: \(roomTitle)")
let room = XMPPRoomLight(roomLightStorage: nil, jid: XMPPJID(string: roomTitle), roomname: "testroom", dispatchQueue: DispatchQueue.main)
let delegate = UIApplication.shared.delegate as! AppDelegate
room.addDelegate(self, delegateQueue: DispatchQueue.main)
room.createRoomLight(withMembersJID: [(delegate.xmppStream?.myJID)!])
room.activate(delegate.xmppStream)
The above code doesn't seem to work and I can't find a demo on how to do this using xmppframework anywhere online. I have enabled mod_muc_light in ejabberd.cfg by uncommenting the line:
{mod_muc_light, [{host, "muclight.@HOST@"}]}
seems you need to add configuration for your room.
and at the end call