mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-14 04:41:04 +00:00
Merge pull request #2203 from bookwyrm-social/dms
Improves UI around DMs
This commit is contained in:
commit
0d05ff348d
2 changed files with 7 additions and 1 deletions
|
@ -14,7 +14,7 @@
|
|||
</header>
|
||||
|
||||
<div class="box">
|
||||
{% include 'snippets/create_status/status.html' with type="direct" uuid=1 mention=partner no_script=True %}
|
||||
{% include 'snippets/create_status/status.html' with type="direct" uuid=1 mention=partner %}
|
||||
</div>
|
||||
|
||||
<section class="block">
|
||||
|
|
|
@ -60,6 +60,12 @@ class User(View):
|
|||
request.user,
|
||||
)
|
||||
.filter(user=user)
|
||||
.exclude(
|
||||
privacy="direct",
|
||||
review__isnull=True,
|
||||
comment__isnull=True,
|
||||
quotation__isnull=True,
|
||||
)
|
||||
.select_related(
|
||||
"user",
|
||||
"reply_parent",
|
||||
|
|
Loading…
Reference in a new issue