bug fixes to Find and Member List due to outdated function definitions

This commit is contained in:
2026-01-30 22:11:49 -07:00
parent a0d3f3715a
commit 4151e99528
5 changed files with 32 additions and 29 deletions
-12
View File
@@ -168,18 +168,6 @@ func (c *Community) Host(ctx context.Context) (*User, error) {
return AmGetUser(ctx, *c.HostUid)
}
// HostQ returns the reference to the community's host, quietly.
func (c *Community) HostQ(ctx context.Context) *User {
if c.HostUid == nil {
return nil
}
u, err := AmGetUser(ctx, *c.HostUid)
if err != nil {
return nil
}
return u
}
// LanguageTag returns the tag for the community's language.
func (c *Community) LanguageTag() (*language.Tag, error) {
if c.Language == nil {