Copy leave and clickLeave function for party to fix #2304. TODO: Refactor into one function?
Merge pull request #2308 from colegleason/leave-party

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