Join/Leave Community

Join Community

The joinCommunity function works by adding the active user as a member of the specified community. By becoming a member of a community within your app, users can connect with like-minded individuals and build deeper relationships within the community. To join a community, you simply need to pass the specific community ID as a parameter of the joinCommunity function.

Leave Community

The leaveCommunity function works by removing the active user as a member of the specified community. This removes the user's access to the community feed and disables their ability to post messages or participate in community discussions. To leave a community, you simply need to pass the specific community ID as a parameter of the leaveCommunity function.

Last updated