When clicking on a link, we first check whether it is a link to a user. If it is, we check if it is a room member of the current room. If so, we invoke the user page. Otherwise, open the link as we do for other links.
This behaviour when the pointed-to user is not in the room can be modified in the future to prompt the user to create/open a DM with that user.