add invite support

Closes #82
This commit is contained in:
Henry Hiles 2026-10-15 00:35:38 -04:00
commit d37ec2878b
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
21 changed files with 561 additions and 147 deletions

View file

@ -20,6 +20,7 @@ sealed class MembershipContent extends Content with _$MembershipContent {
@JsonKey(name: "membership") required MembershipStatus status,
Uri? avatarUrl,
String? reason,
@Default(false) bool isDirect,
}) = _MembershipContent;
factory MembershipContent.fromJson(Map<String, Object?> json) =>