Skip to content

Commit

Permalink
🚑 add missing url (#2354)
Browse files Browse the repository at this point in the history
  • Loading branch information
HerrLevin authored Feb 11, 2024
1 parent 539251c commit c97dd1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Http/Controllers/Backend/Social/MastodonController.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ public static function postStatus(Status $status, bool $shouldPostAsChain = fals

try {
$statusText = StatusHelper::getSocialText($status, true);
$statusText .= ' ' . url("/status/{$status->id}");
$mastodonDomain = MastodonServer::find($status->user->socialProfile->mastodon_server)->domain;
Mastodon::domain($mastodonDomain)->token($status->user->socialProfile->mastodon_token);

Expand Down

0 comments on commit c97dd1c

Please sign in to comment.