own retwists are set to be displayed always

This commit is contained in:
erqan 2014-04-21 14:46:57 +03:00
parent 4024c5fce4
commit c879a85734

View File

@ -310,8 +310,11 @@ function timelineChangedUser()
function willBeHiden(post){
var msg = post['userpost']['msg'];
if (post['userpost']['n'] !== defaultScreenName &&
$.Options.getHideRepliesOpt() !== 'disable' &&
if (post['userpost']['n'] === defaultScreenName)
return false;
if ($.Options.getHideRepliesOpt() !== 'disable' &&
/^\@/.test(msg) &&
!(new RegExp('@' + defaultScreenName + '( |,|;|\\.|:|\\/|\\?|\\!|\\\\|\'|"|\\n|$)').test(msg)))
{