Added helpers for extracting room JID and date.