diff --git a/lib/pangea/choreographer/widgets/start_igc_button.dart b/lib/pangea/choreographer/widgets/start_igc_button.dart index 03a8ae847..ceb5af193 100644 --- a/lib/pangea/choreographer/widgets/start_igc_button.dart +++ b/lib/pangea/choreographer/widgets/start_igc_button.dart @@ -63,7 +63,7 @@ class StartIGCButtonState extends State (itEnabled || igcEnabled) && canSendStatus == CanSendStatus.subscribed; if (!grammarCorrectionEnabled || - !widget.controller.choreographer.isAutoIGCEnabled || + widget.controller.choreographer.isAutoIGCEnabled || widget.controller.choreographer.choreoMode == ChoreoMode.it) { return const SizedBox.shrink(); } diff --git a/lib/pangea/utils/lock_room.dart b/lib/pangea/utils/lock_room.dart index 2bd803093..4e38eab78 100644 --- a/lib/pangea/utils/lock_room.dart +++ b/lib/pangea/utils/lock_room.dart @@ -78,7 +78,7 @@ Future unlockSpace(Room space, Client client) async { for (final spaceChild in space.spaceChildren) { if (spaceChild.roomId == null) continue; final Room? child = client.getRoomById(spaceChild.roomId!); - if (child == null) continue; + if (child == null || child.isArchived || child.isAnalyticsRoom) continue; child.isSpace ? await unlockSpace(child, client) : await unlockChat(child, client);