gf
This commit is contained in:
parent
efb57073e6
commit
0f256238e1
7 changed files with 30 additions and 57 deletions
|
@ -345,8 +345,7 @@ class Comment(Base):
|
|||
body = censor_slurs(body, v)
|
||||
|
||||
if v:
|
||||
if v.teddit: body = body.replace("old.reddit.com", "teddit.net")
|
||||
elif not v.oldreddit: body = body.replace("old.reddit.com", "reddit.com")
|
||||
body = body.replace("old.reddit.com", v.reddit)
|
||||
|
||||
if v.nitter and not '/i/' in body and '/retweets' not in body: body = body.replace("www.twitter.com", "nitter.net").replace("twitter.com", "nitter.net")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue