mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 17:42:25 -05:00
[bugfix] Fix existing perm adoption (#3651)
* [bugfix] Fix existing perm adoption * go fmt * test, small log fix
This commit is contained in:
parent
81b66ad7e3
commit
634d4f408f
7 changed files with 225 additions and 18 deletions
|
|
@ -104,3 +104,7 @@ func (d *DomainAllow) SetSubscriptionID(i string) {
|
|||
func (d *DomainAllow) GetType() DomainPermissionType {
|
||||
return DomainPermissionAllow
|
||||
}
|
||||
|
||||
func (d *DomainAllow) IsOrphan() bool {
|
||||
return d.SubscriptionID == ""
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue