fdsfds
This commit is contained in:
parent
2fcc36e33d
commit
51da23d932
2 changed files with 2 additions and 2 deletions
|
@ -328,7 +328,7 @@ class Submission(Base):
|
|||
if v and not v.oldreddit: body = body.replace("old.reddit.com", "reddit.com")
|
||||
if v and v.nitter: body = body.replace("www.twitter.com", "nitter.net").replace("twitter.com", "nitter.net")
|
||||
|
||||
if v and v.shadowbanned and self.author and self.author.shadowbanned and 86400 > time.time() - self.created_utc > 600:
|
||||
if v and v.shadowbanned and v.id == self.author_id and 86400 > time.time() - self.created_utc > 600:
|
||||
rand = random.randint(5,20)
|
||||
if self.upvotes < rand:
|
||||
self.upvotes = rand
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue