fixing roomIdFromJid function, when using only selected rooms to join