createInstantRoom throwing error in strophe.muc.js

71 Views Asked by At

I'm trying to create muc room using createInstantRoom method in strophe.muc.js, but its throwing error. can anyone plese tell me what is the format of room name given as input to createInstantRoom method

I tried this: this.globalConnection.muc.createInstantRoom('[email protected]/879FKQVK0NZVMWRYQ8@localhost', this.onSuccess, this.onFailure);

This is the error call backfunction response:

1

There are 1 best solutions below

0
Badlop On

I don't know about strophe, but this sounds wrong:

[email protected]/879FKQVK0NZVMWRYQ8@localhost

If that argument is the room JID, then it's probably better something like:

[email protected]