clear chat only when sending, not when receiving messages