show sent info for RTs, not for original posts

use always `userpost` values.
This commit is contained in:
erqan 2015-08-03 13:03:53 +03:00 committed by Simon Grim
parent 59fb0e9c19
commit fe8b59f356

View File

@ -145,7 +145,7 @@ function postToElem( post, kind, promoted ) {
postData.attr('data-promoted', 1);
postData.attr('data-screen-name', '!' + n);
} else {
setPostInfoSent(n,k,elem.find('.post-info-sent'));
setPostInfoSent(userpost["n"], userpost["k"], elem.find('.post-info-sent'));
if ($.Options.filterLang.val !== 'disable' && $.Options.filterLangSimulate.val) {
// FIXME it's must be stuff from template actually
if (typeof(post['langFilter']) !== 'undefined') {