fix local_path for groups

This commit is contained in:
Hugh Rundle
2021-09-27 19:27:39 +10:00
parent c87712c995
commit df5a5f94a1
3 changed files with 43 additions and 41 deletions

View File

@ -24,6 +24,10 @@ class Group(BookWyrmModel):
related_name="members"
)
def get_remote_id(self):
"""don't want the user to be in there in this case"""
return f"https://{DOMAIN}/group/{self.id}"
class GroupMember(models.Model):
"""Users who are members of a group"""