Fixed the size function for self status message

There is still an issue with `USERSTATUS` enum from your first commit to `api-fix` branch. Not sure what you meant to do there, so I left it to you.