From 53137ca0c64980b7270f87d5435e832fabafa7cc Mon Sep 17 00:00:00 2001 From: Giom Foret Date: Thu, 15 Dec 2022 15:46:58 +0100 Subject: [PATCH 1/3] Bug Fix : Crash if the room has avatar and voice broadcast tiles --- .../Coordinator/VoiceBroadcastRecorderCoordinator.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/RiotSwiftUI/Modules/Room/VoiceBroadcastRecorder/Coordinator/VoiceBroadcastRecorderCoordinator.swift b/RiotSwiftUI/Modules/Room/VoiceBroadcastRecorder/Coordinator/VoiceBroadcastRecorderCoordinator.swift index d0205a9fb5..e5e0afe3c6 100644 --- a/RiotSwiftUI/Modules/Room/VoiceBroadcastRecorder/Coordinator/VoiceBroadcastRecorderCoordinator.swift +++ b/RiotSwiftUI/Modules/Room/VoiceBroadcastRecorder/Coordinator/VoiceBroadcastRecorderCoordinator.swift @@ -57,6 +57,7 @@ final class VoiceBroadcastRecorderCoordinator: Coordinator, Presentable { func toPresentable() -> UIViewController { let view = VoiceBroadcastRecorderView(viewModel: voiceBroadcastRecorderViewModel.context) + .addDependency(AvatarService.instantiate(mediaManager: parameters.session.mediaManager)) return VectorHostingController(rootView: view) } From 37f95105f39ef0369e6ad2cdfae9d722ce8282a5 Mon Sep 17 00:00:00 2001 From: Giom Foret Date: Thu, 15 Dec 2022 15:51:54 +0100 Subject: [PATCH 2/3] add logfile --- changelog.d/pr-7173.bugfix | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/pr-7173.bugfix diff --git a/changelog.d/pr-7173.bugfix b/changelog.d/pr-7173.bugfix new file mode 100644 index 0000000000..103e8b34be --- /dev/null +++ b/changelog.d/pr-7173.bugfix @@ -0,0 +1 @@ +Crash on new voice broadcast if the room has avatar From 60834e1a52ab66fa063b0af2fbe290b22ecace95 Mon Sep 17 00:00:00 2001 From: Giom Foret Date: Thu, 15 Dec 2022 15:59:58 +0100 Subject: [PATCH 3/3] update logs --- changelog.d/pr-7173.bugfix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.d/pr-7173.bugfix b/changelog.d/pr-7173.bugfix index 103e8b34be..64fb469a5a 100644 --- a/changelog.d/pr-7173.bugfix +++ b/changelog.d/pr-7173.bugfix @@ -1 +1 @@ -Crash on new voice broadcast if the room has avatar +Labs: Crash on new voice broadcast if the room has avatar