Skip to content

Commit 1043616

Browse files
authored
Merge pull request #655 from poppastring/webfinger-subject-fix
Fixed the subject of the webfinger response
2 parents fb335c5 + f607fa6 commit 1043616

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 = email,
52+
subject = string.Format("acct:{0}@{1}", dasBlogSettings.SiteConfiguration.MastodonAccount, dasBlogSettings.SiteConfiguration.MastodonServerUrl),
5353
aliases = new List<string> { accturl, usersurl },
5454

5555
links = new List<Link>

0 commit comments

Comments
 (0)