forked from MarseyWorld/MarseyWorld
fix for future messages
parent
6ebd6aaaf1
commit
cff77f21e3
|
@ -510,6 +510,7 @@ def message2(v:User, username:str):
|
||||||
parent_submission=None,
|
parent_submission=None,
|
||||||
level=1,
|
level=1,
|
||||||
sentto=user.id,
|
sentto=user.id,
|
||||||
|
body=message,
|
||||||
body_html=body_html
|
body_html=body_html
|
||||||
)
|
)
|
||||||
g.db.add(c)
|
g.db.add(c)
|
||||||
|
@ -581,6 +582,7 @@ def messagereply(v:User):
|
||||||
top_comment_id=parent.top_comment_id,
|
top_comment_id=parent.top_comment_id,
|
||||||
level=parent.level + 1,
|
level=parent.level + 1,
|
||||||
sentto=user_id,
|
sentto=user_id,
|
||||||
|
body=body,
|
||||||
body_html=body_html,
|
body_html=body_html,
|
||||||
)
|
)
|
||||||
g.db.add(c)
|
g.db.add(c)
|
||||||
|
|
Loading…
Reference in New Issue