Tidy checkForPreJoinUISI and add some logging (#8567)
Tidy checkForPreJoinUISI and add some logging (#8567)

* Tidy checkForPreJoinUISI

* Add some logging
matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk