Skip to content

Commit c449bac

Browse files
authored
Merge pull request #656 from poppastring/another-bug-with-subject
Reformat the subject ... again.
2 parents 1043616 + cc8f99f commit c449bac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/DasBlog.Web.UI/Controllers/ActivityPubController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public ActionResult WebFinger(string resource)
4949

5050
var results = new Root
5151
{
52-
subject = string.Format("acct:{0}@{1}", dasBlogSettings.SiteConfiguration.MastodonAccount, dasBlogSettings.SiteConfiguration.MastodonServerUrl),
52+
subject = string.Format("acct:{0}@{1}", dasBlogSettings.SiteConfiguration.MastodonAccount.Remove(0, 1), new Uri(dasBlogSettings.SiteConfiguration.MastodonServerUrl).Host),
5353
aliases = new List<string> { accturl, usersurl },
5454

5555
links = new List<Link>

0 commit comments

Comments
 (0)