mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-28 20:53:31 -06:00
fix tiny whoopsie
This commit is contained in:
parent
79132d47cc
commit
419e75d15b
1 changed files with 1 additions and 1 deletions
|
|
@ -188,7 +188,7 @@ func init() {
|
||||||
for _, oldAccount := range oldAccounts {
|
for _, oldAccount := range oldAccounts {
|
||||||
|
|
||||||
var actorType new_gtsmodel.AccountActorType
|
var actorType new_gtsmodel.AccountActorType
|
||||||
if oldAccount.Domain != "" && oldAccount.Username == host {
|
if oldAccount.Domain == "" && oldAccount.Username == host {
|
||||||
// This is our instance account, override actor
|
// This is our instance account, override actor
|
||||||
// type to Service, as previously it was just person.
|
// type to Service, as previously it was just person.
|
||||||
actorType = new_gtsmodel.AccountActorTypeService
|
actorType = new_gtsmodel.AccountActorTypeService
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue