write message by offline when presence unavailable