Link detection fix in chat.