ChatWindow code delete