Added in 1.9.0
/ajinvite [on|off]
Turns auto-join on invite on or off.