diff --git a/app/Http/Controllers/FederationController.php b/app/Http/Controllers/FederationController.php
index ea119d07..aaba0cc4 100644
--- a/app/Http/Controllers/FederationController.php
+++ b/app/Http/Controllers/FederationController.php
@@ -167,7 +167,7 @@ XML;
public function userInbox(Request $request, $username)
{
- // todo
+ return;
}
public function userFollowing(Request $request, $username)
@@ -175,7 +175,10 @@ XML;
if (config('pixelfed.activitypub_enabled') == false) {
abort(403);
}
- $profile = Profile::whereNull('remote_url')->whereUsername($username)->firstOrFail();
+ $profile = Profile::whereNull('remote_url')
+ ->whereUsername($username)
+ ->whereIsPrivate(false)
+ ->firstOrFail();
$obj = [
'@context' => 'https://www.w3.org/ns/activitystreams',
'id' => $request->getUri(),
@@ -193,7 +196,10 @@ XML;
if (config('pixelfed.activitypub_enabled') == false) {
abort(403);
}
- $profile = Profile::whereNull('remote_url')->whereUsername($username)->firstOrFail();
+ $profile = Profile::whereNull('remote_url')
+ ->whereUsername($username)
+ ->whereIsPrivate(false)
+ ->firstOrFail();
$obj = [
'@context' => 'https://www.w3.org/ns/activitystreams',
'id' => $request->getUri(),
diff --git a/resources/assets/js/components/PostComments.vue b/resources/assets/js/components/PostComments.vue
index 5ac700c1..cc57ad69 100644
--- a/resources/assets/js/components/PostComments.vue
+++ b/resources/assets/js/components/PostComments.vue
@@ -3,7 +3,6 @@
font-size: 14px;
}
.comment-text {
- word-break: break-all;
}
.comment-text p {
display: inline;
@@ -33,7 +32,7 @@
{{ status.spoiler_text ? status.spoiler_text : 'CW / NSFW / Hidden Media'}}
(click to show)
- +