mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-02 06:06:57 +02:00
Add trigger to join and view room metrics events #5769
- Added trigger for JoinedRoom event - Tracking ViewRoom event for rooms and events
This commit is contained in:
@@ -801,6 +801,7 @@
|
||||
if (indexPath.row < directChatsArray.count)
|
||||
{
|
||||
// Open this room
|
||||
Analytics.shared.viewRoomTrigger = AnalyticsViewRoomTriggerSearchContactDetail;
|
||||
[[AppDelegate theDelegate] showRoom:directChatsArray[indexPath.row] andEventId:nil withMatrixSession:self.mainSession];
|
||||
}
|
||||
else
|
||||
@@ -1053,7 +1054,8 @@
|
||||
self->roomCreationRequest = nil;
|
||||
|
||||
[self removePendingActionMask];
|
||||
|
||||
|
||||
Analytics.shared.viewRoomTrigger = AnalyticsViewRoomTriggerCreated;
|
||||
[[AppDelegate theDelegate] showRoom:room.roomId andEventId:nil withMatrixSession:self.mainSession];
|
||||
|
||||
} failure:onFailure];
|
||||
|
||||
Reference in New Issue
Block a user