the handling of rooms and their representation in the DOM is anyway nasty. We should think about doing this better anyway as we store room state in ~3 places (core, view, dom). 
If this would be solved, we could remove functions like this but I'd do this separately.