Remove confirmation for tgme links

Closes #1166
This commit is contained in:
Igor Zhukov 2016-07-05 13:32:18 +03:00
parent 829be1817f
commit 93b22ee049

View File

@ -1647,7 +1647,7 @@ angular.module('izhukov.utils', [])
break
}
var url = entity.url || entityText
url = wrapUrl(url, entity._ == 'messageEntityTextUrl' ? 2 : false)
url = wrapUrl(url, entity._ == 'messageEntityTextUrl' ? true : false)
html.push(
'<a href="',
encodeEntities(url),