From a3ef4f813575d847c3bcdde526a04f65d61fd91b Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Sun, 25 Oct 2026 17:04:21 -0400 Subject: [PATCH] fix invalid power level creation oops, misread spec and now this breaks rooms on Synapse --- lib/models/content/power_levels.dart | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/models/content/power_levels.dart b/lib/models/content/power_levels.dart index 8b1dba9..c902534 100644 --- a/lib/models/content/power_levels.dart +++ b/lib/models/content/power_levels.dart @@ -24,10 +24,7 @@ class const PowerLevelsContent({ @Freezed(toJson: false, fromJson: false) @JsonSerializable() -class const Notifications({ - final int room = 50, - final IMap other = const .empty(), -}) with _$Notifications { +class const Notifications({final int room = 50}) with _$Notifications { Map toJson() => _$NotificationsToJson(this); factory Notifications.fromJson(Map json) =>