Public page is empty
Describe the bug This has been reported in the past as fixed, but I still see in in the #migrate-to-nc21
To Reproduce https://nextcloud.domain.com/apps/social/@someuser/
Expected behavior Showing the user and his/her public posts.
Screenshots

Client details:
- Linux Gentoo
- all browsers
Social app version: Latest from #migrate-to-nc21 branch
If necessary I could try several suggestions. I looked inside the PHP code by looking at #244 but was too difficult to find the cause.
Looked for three hours in the code but could not do much. Some developers to give me a hint on what to check? Which steps should I try? What files? Some simple debug steps? etc...
--- a/lib/Controller/SocialPubController.php
+++ b/lib/Controller/SocialPubController.php
@@ -154,6 +154,7 @@ class SocialPubController extends Controller {
$page = new PublicTemplateResponse(Application::APP_ID, 'main', $data);
$page->setStatus($status);
$page->setHeaderTitle($this->l10n->t('Social'));
+ $page->renderAs("user");
return $page;
}
This render directive solves the issue. Nevertheless the APP bar is on top which can be a problem for security.
