From 68f75066698f2ecade5164225d2f3ddbe5c4bd5a Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Sun, 25 Oct 2026 17:04:21 -0400 Subject: [PATCH 1/2] 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 afa0e23..4eb1c82 100644 --- a/lib/models/content/power_levels.dart +++ b/lib/models/content/power_levels.dart @@ -26,10 +26,7 @@ sealed class PowerLevelsContent extends Content with _$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) => From 06e6575fa32d23874f3c32d7022a6ebe68ff872f Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Sun, 25 Oct 2026 19:07:14 -0400 Subject: [PATCH 2/2] release v1.0.1 --- README.md | 2 +- linux/nix/pkg/default.nix | 2 +- pubspec.yaml | 2 +- windows/installer.iss | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a0c111d..5d3090f 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ nexus = { This tracks the latest commit on `main`. To stay on a release instead, pin the input to its tag: ```nix -url = "git+https://git.federated.nexus/Nexus/nexus?ref=refs/tags/v1.0.0"; +url = "git+https://git.federated.nexus/Nexus/nexus?ref=refs/tags/v1.0.1"; ``` Then import the module and enable it in your NixOS configuration: diff --git a/linux/nix/pkg/default.nix b/linux/nix/pkg/default.nix index 47bf2d7..5cec239 100644 --- a/linux/nix/pkg/default.nix +++ b/linux/nix/pkg/default.nix @@ -14,7 +14,7 @@ flutter.buildFlutterApplication { pname = "nexus"; - version = "1.0.0"; + version = "1.0.1"; inherit src; preBuild = '' diff --git a/pubspec.yaml b/pubspec.yaml index 11c4808..6a436bc 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: nexus description: "A simple and user-friendly Matrix client" -version: 1.0.0 +version: 1.0.1 publish_to: none flutter: diff --git a/windows/installer.iss b/windows/installer.iss index 22f4dcf..14c9333 100644 --- a/windows/installer.iss +++ b/windows/installer.iss @@ -1,6 +1,6 @@ [Setup] AppName=Nexus -AppVersion=1.0.0 +AppVersion=1.0.1 DefaultDirName={pf}\Nexus DefaultGroupName=Nexus OutputDir=dist