fixed invite api
Merge remote-tracking branch 'origin/2.1' into 2.1