[lib] Replace loggedIn check with canQuery in BaseAutoJoinCommunityHandler
Summary:
This diff is a no-op, as canQuery is set to loggedIn above. I'm simplifying the code ahead of the next diff.
Depends on D13626
Test Plan: Flow
Reviewers: varun
Reviewed By: varun
Subscribers: tomek
Differential Revision: https://phab.comm.dev/D13627