fix for future messages

pull/128/head
Aevann 2023-02-19 22:02:13 +02:00
parent 6ebd6aaaf1
commit cff77f21e3
1 changed files with 2 additions and 0 deletions

View File

@ -510,6 +510,7 @@ def message2(v:User, username:str):
parent_submission=None,
level=1,
sentto=user.id,
body=message,
body_html=body_html
)
g.db.add(c)
@ -581,6 +582,7 @@ def messagereply(v:User):
top_comment_id=parent.top_comment_id,
level=parent.level + 1,
sentto=user_id,
body=body,
body_html=body_html,
)
g.db.add(c)