remotes/1693045480750635534/spooky-22
Aevann1 2021-11-21 15:42:01 +02:00
parent b545de58b6
commit 35cc6c8a35
3 changed files with 2 additions and 10 deletions

View File

@ -20,7 +20,6 @@ def send_notification(uid, text, autojanny=False):
new_comment = Comment(author_id=author_id,
parent_submission=None,
distinguish_level=6,
body=text,
body_html=text_html,
notifiedto=uid
)
@ -41,7 +40,6 @@ def send_follow_notif(vid, user, text):
new_comment = Comment(author_id=NOTIFICATIONS_ID,
parent_submission=None,
distinguish_level=6,
body=text,
body_html=text_html,
)
g.db.add(new_comment)
@ -60,7 +58,6 @@ def send_unfollow_notif(vid, user, text):
new_comment = Comment(author_id=NOTIFICATIONS_ID,
parent_submission=None,
distinguish_level=6,
body=text,
body_html=text_html,
)
g.db.add(new_comment)
@ -79,7 +76,6 @@ def send_block_notif(vid, user, text):
new_comment = Comment(author_id=NOTIFICATIONS_ID,
parent_submission=None,
distinguish_level=6,
body=text,
body_html=text_html,
)
g.db.add(new_comment)
@ -98,7 +94,6 @@ def send_unblock_notif(vid, user, text):
new_comment = Comment(author_id=NOTIFICATIONS_ID,
parent_submission=None,
distinguish_level=6,
body=text,
body_html=text_html,
)
g.db.add(new_comment)
@ -121,7 +116,6 @@ def send_admin(vid, text):
parent_submission=None,
level=1,
sentto=0,
body=text,
body_html=text_html,
)
g.db.add(new_comment)

View File

@ -332,7 +332,6 @@ def message2(v, username):
parent_submission=None,
level=1,
sentto=user.id,
body=message,
body_html=text_html,
)
g.db.add(new_comment)
@ -383,7 +382,6 @@ def messagereply(v):
parent_comment_id=id,
level=parent.level + 1,
sentto=user.id,
body=message,
body_html=text_html,
)
g.db.add(new_comment)

View File

@ -8,7 +8,7 @@
<pre></pre>
<div class="d-flex justify-content-between align-items-center">
<div class="d-flex align-items-center sortingbarmargin">
<div class="d-flex px-2 align-items-center sortingbarmargin">
<div class="text-small font-weight-bold mr-2"></div>
<div class="dropdown dropdown-actions">
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
@ -53,7 +53,7 @@
<div class="row no-gutters {% if listing %}mt-md-3{% elif not listing %}my-md-3{% endif %}">
<div class="col-12">
<div class="col-12 px-3">
<div class="posts" id="posts">