Fix to work correctly with primus-rooms.