If the user is offline, the text-ui still shows the icon from the last state of the contact we're talking with. However now you're offline this never gets updated. If you're offline we should show the offline icon regardless of the status of the other person.
Fixed by me. Forgot to tag commit.