davidfowl/JabbR — pull request #304 by ssboisen (2012-01-14 14:14:51+00:00)
Title: Added url-transformation to private messages

I was missing the ability to send urls in private messages when doing information about bot-commands in the jabbot and jibbr projects.

Since the url-transformation was a private method in the Chat-class I moved it to a static public method on TextTransform. I didn't implement the same kind of content extraction which is found in the chat-messages which means that the hashset of extracted urls are not used for anything in private messages.

I have added tests to verify that the messages are transformed when doing private messages aswell as verifying the functionality on a more granular level at the TextTransform.TransformAndExtractUrls method.