Add timestamps to chat messages.