forked from rDrama/rDrama
dont surprise new users on rdrama with 835 notifications
parent
a9e355c804
commit
0f5b04ad7a
|
@ -147,7 +147,9 @@ class User(Base):
|
||||||
kwargs["passhash"] = self.hash_password(kwargs["password"])
|
kwargs["passhash"] = self.hash_password(kwargs["password"])
|
||||||
kwargs.pop("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)
|
super().__init__(**kwargs)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue