auto linkify links in comments

This commit is contained in:
Stefan Breunig
2013-02-05 15:08:02 +01:00
parent 5740732960
commit 7f7d716d2b
4 changed files with 8 additions and 5 deletions

View File

@ -365,7 +365,7 @@ window.chat.renderPlayerMsgsTo = function(isFaction, data, isOldMsgs, dupCheckAr
window.setPlayerName(pguid, nick); // free nick name resolves
}
if(markup[0] === 'TEXT') msg = markup[1].plain;
if(markup[0] === 'TEXT') msg = markup[1].plain.autoLink();
if(!isFaction && markup[0] === 'SECURE') {
nick = null;