better outgoing chat message handling