Hi,
Thanks all for the replies. Does not have to be visa on arrival, we still have some time. In fact, would feel better to know upfront to have a visa. Don't want to risk sitting on the floor in the transit area for 20h if it can be avoided.
What travel agency could that be? One in Qatar? Do you know any?

Hotel says that tourist visas for Moroccans are typically rejected if requested by a hotel, thus they don't even bother trying.
Thanks