iOS: fix the join event payload caused by legacy code