diff --git a/app/js/lib/ng_utils.js b/app/js/lib/ng_utils.js index b60ba817..86857dc8 100644 --- a/app/js/lib/ng_utils.js +++ b/app/js/lib/ng_utils.js @@ -1433,7 +1433,6 @@ angular.module('izhukov.utils', []) }) rawOffset -= 2 } else if (match[10]) { // custom mention - console.log(match); newText.push(text) entities.push({ _: 'messageEntityMentionName', @@ -1597,11 +1596,10 @@ angular.module('izhukov.utils', []) break case 'messageEntityMentionName': - if (!options.noLinks) { + if (options.noLinks) { skipEntity = true break } - var username = entityText.substr(1) html.push( '