Use the UserSession for VoiceMessageMediaManager injection too.

This commit is contained in:
Doug
2025-08-27 17:33:26 +01:00
committed by Doug
parent f67f826bb7
commit 24067ce275
20 changed files with 1 additions and 61 deletions
@@ -79,7 +79,6 @@ class MediaEventsTimelineFlowCoordinator: FlowCoordinatorProtocol {
filesTimelineController: filesTimelineController,
userSession: userSession,
mediaPlayerProvider: MediaPlayerProvider(),
voiceMessageMediaManager: userSession.voiceMessageMediaManager,
appMediator: flowParameters.appMediator,
appSettings: flowParameters.appSettings,
analytics: flowParameters.analytics,
@@ -65,7 +65,6 @@ class PinnedEventsTimelineFlowCoordinator: FlowCoordinatorProtocol {
timelineController: timelineController,
userSession: userSession,
mediaPlayerProvider: MediaPlayerProvider(),
voiceMessageMediaManager: userSession.voiceMessageMediaManager,
appMediator: flowParameters.appMediator,
appSettings: flowParameters.appSettings,
analytics: flowParameters.analytics,
@@ -550,7 +550,6 @@ class RoomFlowCoordinator: FlowCoordinatorProtocol {
sharedText: presentationAction?.sharedText,
timelineController: timelineController,
mediaPlayerProvider: MediaPlayerProvider(),
voiceMessageMediaManager: userSession.voiceMessageMediaManager,
emojiProvider: flowParameters.emojiProvider,
completionSuggestionService: completionSuggestionService,
ongoingCallRoomIDPublisher: flowParameters.ongoingCallRoomIDPublisher,
@@ -647,7 +646,6 @@ class RoomFlowCoordinator: FlowCoordinatorProtocol {
roomProxy: roomProxy,
timelineController: timelineController,
mediaPlayerProvider: MediaPlayerProvider(),
voiceMessageMediaManager: userSession.voiceMessageMediaManager,
emojiProvider: flowParameters.emojiProvider,
completionSuggestionService: completionSuggestionService,
appMediator: flowParameters.appMediator,