[native] Join a thread after accepting the invitation
Summary:
After clicking join button, a user joins a community. The part of this code with calendar filters was inspired by other places where user can join a thread.
Error handling and loading state will be added in next diffs.
Depends on D7556
Test Plan: Open a link to a new community. Accept the invitation - a new thread should appear on thread list and in community drawer. Also, the modal should get closed.
Reviewers: bartek, kamil, inka
Reviewed By: bartek
Subscribers: ashoat, atul
Differential Revision: https://phab.comm.dev/D7557