Skip to content

Commit

Permalink
🐛 Set preferred user name for single user mode (#65)
Browse files Browse the repository at this point in the history
* 🐛 Set preferred user name for single

* 🔖 Set version to 1.0.15
  • Loading branch information
eduwardpost authored Feb 12, 2024
1 parent b22e8c9 commit 6c6c867
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/uActivityPub/Models/Actor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ public Actor(IUser user, IOptions<WebRoutingSettings> webRoutingSettings, IScope
/// <param name="scopeProvider"></param>
public Actor(string userName, IOptions<WebRoutingSettings> webRoutingSettings, IScopeProvider scopeProvider) : this()
{
PreferredUsername = userName;
Id = $"{webRoutingSettings.Value.UmbracoApplicationUrl}activitypub/actor/{userName}";
Inbox = $"{webRoutingSettings.Value.UmbracoApplicationUrl}activitypub/inbox/{userName}";
Outbox = $"{webRoutingSettings.Value.UmbracoApplicationUrl}activitypub/outbox/{userName}";
Expand Down
4 changes: 2 additions & 2 deletions src/uActivityPub/uActivityPub.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
<PackageReadmeFile>README.md</PackageReadmeFile>
<Product>uActivityPub</Product>
<PackageId>uActivityPub</PackageId>
<Version>1.0.14</Version>
<AssemblyVersion>1.0.14</AssemblyVersion>
<Version>1.0.15</Version>
<AssemblyVersion>1.0.15</AssemblyVersion>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
Expand Down

0 comments on commit 6c6c867

Please sign in to comment.