java - Increase Maximum Room Occupants count smack api -


how increase deafult maximum room occupants count '30' desired count. possible smack api?

so far researched, submitform.setanswer("muc#roomconfig_maxusers", 20000); not working thorws exception in thread "main" java.lang.illegalargumentexception: since type 'list-single'

how set value muc#roomconfig_maxusers?

thanks in advance.

i solved problem giving maximum users count in arraylist follows,

 arraylist oarraylist = new arraylist();  oarraylist.add("0")  submitform.setanswer("muc#roomconfig_maxusers", oarraylist); 

Comments

Popular posts from this blog

testing - Detect whether test has failed within fixture -

android - Create single AAR file from multiple modules using Gradle -

AbotX : How do you create a parallel crawler that stays on and can be added to at run time from new requests -