mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-14 17:07:53 +00:00
own retwists are set to be displayed always
This commit is contained in:
parent
4024c5fce4
commit
c879a85734
@ -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)))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user