mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-15 01:12:12 +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){
|
function willBeHiden(post){
|
||||||
var msg = post['userpost']['msg'];
|
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) &&
|
/^\@/.test(msg) &&
|
||||||
!(new RegExp('@' + defaultScreenName + '( |,|;|\\.|:|\\/|\\?|\\!|\\\\|\'|"|\\n|$)').test(msg)))
|
!(new RegExp('@' + defaultScreenName + '( |,|;|\\.|:|\\/|\\?|\\!|\\\\|\'|"|\\n|$)').test(msg)))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user