modify ChatActivity