Fixed a bug of username and status message being sent twice