Fix internal thread display

This commit is contained in:
Thomas Sileo 2019-09-04 23:48:30 +02:00
parent 9705f81360
commit 59b39b4ab3

View file

@ -166,6 +166,9 @@ def _build_thread(data, include_children=True): # noqa: C901
{**flag(MetaKey.THREAD_ROOT_PARENT, root_id), **not_deleted()} {**flag(MetaKey.THREAD_ROOT_PARENT, root_id), **not_deleted()}
): ):
# Make a Note/Question/... looks like a Create # Make a Note/Question/... looks like a Create
dat["meta"].update(
{MetaKey.OBJECT_VISIBILITY.value: dat["meta"][MetaKey.VISIBILITY.value]}
)
dat = { dat = {
"activity": {"object": dat["activity"]}, "activity": {"object": dat["activity"]},
"meta": dat["meta"], "meta": dat["meta"],