Add posthog events (#1097)

This commit is contained in:
Nicolas Mauri
2023-06-21 18:00:33 +02:00
committed by GitHub
parent 2ae8f471c6
commit 6d5652d56a
10 changed files with 71 additions and 8 deletions
@@ -231,7 +231,6 @@ class RoomFlowCoordinator: FlowCoordinatorProtocol {
}
}
/// Updates the navigation stack so it displays the timeline for the given room
/// - Parameters:
/// - roomID: the identifier of the room that is to be presented
@@ -283,6 +282,8 @@ class RoomFlowCoordinator: FlowCoordinatorProtocol {
mediaProvider: userSession.mediaProvider)
self.timelineController = timelineController
ServiceLocator.shared.analytics.trackViewRoom(isDM: roomProxy.isDirect, isSpace: roomProxy.isSpace)
let parameters = RoomScreenCoordinatorParameters(roomProxy: roomProxy,
timelineController: timelineController,
mediaProvider: userSession.mediaProvider,