Change boolean afk to enum StatusType in User.
Fixxed message delivery bug when target is offline.