Copy leave and clickLeave function for party to fix #2304. 

TODO: Refactor these functions into a single clickLeave/leave pair regardless of group type. In the meantime though, this should fix the issue where a person cannot leave their party.