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
Post a Comment