Getting Mucconfigurationnotsupportedexception In Android Smack 4.2.0-beta1
I am developing chat application for one to one chat and group chat. I have successfully done one to one chat. Using the below link I have created Group chat. Link to create Group
Solution 1:
There are 2 cases: 1) Your conference service does not supports owners (depends by server, Ejabber in your case, and this doesn't sounds normal)
2) Your config form it's not completed as documentation says and you need to create a full form.
How to fix: substitute this line:
muc.create(nickname).getConfigFormManager().setRoomOwners(owners).submitConfigurationForm();
with:
muc.create(nickname);
Formform= muc.getConfigurationForm().createAnswerForm();
form.setAnswer("muc#roomconfig_roomowners", owners);
muc.sendConfigurationForm(form);
pay attention to names:
your DomainName it's the Service conference name + Server Domain Name. An owner can be a JID (foo@myserver) and not related on service (so foo@service.myserver it's not a valid user, even if server will accept it).
Fix your owners with:
"admin" + "@" + ServiceAddress, "dev1" + "@" + ServiceAddress, "dev2" + "@" + ServiceAddress
Post a Comment for "Getting Mucconfigurationnotsupportedexception In Android Smack 4.2.0-beta1"