fdsfds
This commit is contained in:
parent
f101817356
commit
bf678590fe
2 changed files with 2 additions and 2 deletions
|
@ -326,7 +326,7 @@ class Submission(Base):
|
|||
if v and v.nitter: body = body.replace("www.twitter.com", "nitter.net").replace("twitter.com", "nitter.net")
|
||||
|
||||
if v and v.shadowbanned and v.id == self.author_id and 86400 > time.time() - self.created_utc > 600:
|
||||
rand = random.randint(5,20)
|
||||
rand = random.randint(1,16)
|
||||
if self.upvotes < rand:
|
||||
self.upvotes = rand
|
||||
g.db.add(self)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue