dont surprise new users on rdrama with 835 notifications

remotes/1693045480750635534/spooky-22
Aevann1 2022-07-11 12:04:13 +02:00
parent a9e355c804
commit 0f5b04ad7a
1 changed files with 3 additions and 1 deletions

View File

@ -147,7 +147,9 @@ class User(Base):
kwargs["passhash"] = self.hash_password(kwargs["password"])
kwargs.pop("password")
if "created_utc" not in kwargs: kwargs["created_utc"] = int(time.time())
if "created_utc" not in kwargs:
kwargs["created_utc"] = int(time.time())
kwargs["last_viewed_post_notifs"] = kwargs["created_utc"]
super().__init__(**kwargs)