forked from rDrama/rDrama
/contact should always only include messages from u
parent
07fa533657
commit
bcdaa20ec5
|
@ -157,7 +157,7 @@ def modmail_listing(v):
|
||||||
|
|
||||||
comments = g.db.query(Comment).filter(Comment.id == sq.c.top_comment_id).order_by(sq.c.created_utc.desc())
|
comments = g.db.query(Comment).filter(Comment.id == sq.c.top_comment_id).order_by(sq.c.created_utc.desc())
|
||||||
|
|
||||||
if v.admin_level < PERMS['VIEW_MODMAIL']:
|
if request.path == '/contact':
|
||||||
comments = comments.filter_by(author_id=v.id)
|
comments = comments.filter_by(author_id=v.id)
|
||||||
|
|
||||||
total = comments.count()
|
total = comments.count()
|
||||||
|
|
Loading…
Reference in New Issue