Fix online status and receive chat message