The list of rooms that appears is based on various conditions:
The invitation option will only appear for a user if you and the other user are not currently in the same chatrooms. If you are both in the same rooms, then you have no option to invite them (because the system knows you two can already chat there).
If a user has been invited to join a room but never joined said room, then that room is no longer available for them to be invited to. However, if the user joins the room, and then leaves it, it will appear again on the list. We have a check in place to exclude rooms that a user has already been invited to but didn't accept.
Then, there are the obvious restrictions, like the user is banned from chat, or doesn't have the rep to chat.