forked from forks/microblog.pub
Improve replies counter for out-of-order replies
This commit is contained in:
parent
d44c8a58aa
commit
b3f25e7da1
1 changed files with 2 additions and 0 deletions
|
@ -1618,6 +1618,8 @@ async def _process_note_object(
|
|||
is_hidden_from_stream=not (
|
||||
(not is_reply and is_from_following) or is_mention or is_local_reply
|
||||
),
|
||||
# We may already have some replies in DB
|
||||
replies_count=await _get_replies_count(db_session, ro.ap_id),
|
||||
)
|
||||
|
||||
db_session.add(inbox_object)
|
||||
|
|
Loading…
Reference in a new issue