http://docs2x.smartfoxserver.com/api-do ... 221f98.htm
It seems to have a couple of issues:
• First One is that it's using two names for the same variables: "friend1" and "user1", the same happens for friend2 and user2.
• When sending the invitedUsers list smartfox server logs throws this error:
Code: Select all
| 20:49:25,580 | WARN | SFSWorker:Sys:2 | controllers.v290.SystemReqController | | java.lang.IllegalArgumentException: Invited Users Array expected to contain at least 1 element!, Sender: ( User Name: Kermit, Id: 2, Priv: 0, Sess: 127.0.0.1:60189 ) com.smartfoxserver.v2.controllers.system.game.InviteUser.execute(InviteUser.java:58)
Could someone explain me how are we supposing to pass the invitedUsers list from the client side to make it find the array elemnts?