mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 05:04:27 +00:00
Fix internal thread display
This commit is contained in:
parent
9705f81360
commit
59b39b4ab3
1 changed files with 3 additions and 0 deletions
|
@ -166,6 +166,9 @@ def _build_thread(data, include_children=True): # noqa: C901
|
|||
{**flag(MetaKey.THREAD_ROOT_PARENT, root_id), **not_deleted()}
|
||||
):
|
||||
# Make a Note/Question/... looks like a Create
|
||||
dat["meta"].update(
|
||||
{MetaKey.OBJECT_VISIBILITY.value: dat["meta"][MetaKey.VISIBILITY.value]}
|
||||
)
|
||||
dat = {
|
||||
"activity": {"object": dat["activity"]},
|
||||
"meta": dat["meta"],
|
||||
|
|
Loading…
Reference in a new issue