Changed view message method to use thread id