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

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -