mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-29 15:56:16 -06:00
remove TODO notice
This commit is contained in:
parent
8431326295
commit
dd9087dc21
1 changed files with 0 additions and 1 deletions
|
|
@ -94,7 +94,6 @@ func (a *Account) UsernameDomain() string {
|
||||||
|
|
||||||
// IsLocal returns whether account is a local user account.
|
// IsLocal returns whether account is a local user account.
|
||||||
func (a *Account) IsLocal() bool {
|
func (a *Account) IsLocal() bool {
|
||||||
// TODO: can we simplify this to just domain == ""?
|
|
||||||
return a.Domain == "" ||
|
return a.Domain == "" ||
|
||||||
a.Domain == config.GetHost() ||
|
a.Domain == config.GetHost() ||
|
||||||
a.Domain == config.GetAccountDomain()
|
a.Domain == config.GetAccountDomain()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue