remotes/1693045480750635534/spooky-22
Aevann1 2022-03-05 00:47:25 +02:00
parent 35ec2a7712
commit 1da0d95830
1 changed files with 12 additions and 10 deletions

View File

@ -574,7 +574,9 @@ def edit_post(pid, v):
if (title != p.title or body != p.body) and v.id == p.author_id:
if title != p.title or body != p.body:
if v.id == p.author_id:
if int(time.time()) - p.created_utc > 60 * 3: p.edited_utc = int(time.time())
g.db.add(p)