fix checks for memberships

This commit is contained in:
Henry Hiles 2026-04-04 17:52:42 -04:00
commit 185ee37f04
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
3 changed files with 35 additions and 14 deletions

View file

@ -9,6 +9,7 @@ abstract class PowerLevelConfig with _$PowerLevelConfig {
@Default(false) bool isStateEvent,
required String eventType,
MembershipAction? action,
String? targetUser,
}) = _PowerLevelConfig;
factory PowerLevelConfig.fromJson(Map<String, Object?> json) =>