From 419e75d15b5e16b2646792c8d1397e008d368031 Mon Sep 17 00:00:00 2001 From: tobi Date: Sun, 6 Apr 2025 14:02:20 +0200 Subject: [PATCH] fix tiny whoopsie --- .../migrations/20250321131230_relax_account_uri_uniqueness.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/db/bundb/migrations/20250321131230_relax_account_uri_uniqueness.go b/internal/db/bundb/migrations/20250321131230_relax_account_uri_uniqueness.go index 0daa29834..acc37529d 100644 --- a/internal/db/bundb/migrations/20250321131230_relax_account_uri_uniqueness.go +++ b/internal/db/bundb/migrations/20250321131230_relax_account_uri_uniqueness.go @@ -188,7 +188,7 @@ func init() { for _, oldAccount := range oldAccounts { var actorType new_gtsmodel.AccountActorType - if oldAccount.Domain != "" && oldAccount.Username == host { + if oldAccount.Domain == "" && oldAccount.Username == host { // This is our instance account, override actor // type to Service, as previously it was just person. actorType = new_gtsmodel.AccountActorTypeService