File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
vector-config/src/main/java/im/vector/app/config
vector/src/main/java/im/vector/app/core/di Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change
1
+ Updated posthog url (cosmetic, target same server) and added a new sentry env.
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ object Config {
83
83
* Can be disabled by providing Analytics.Disabled
84
84
*/
85
85
val RELEASE_ANALYTICS_CONFIG = Analytics .Enabled (
86
- postHogHost = " https://posthog.hss. element.io" ,
86
+ postHogHost = " https://posthog.element.io" ,
87
87
postHogApiKey = " phc_Jzsm6DTm6V2705zeU5dcNvQDlonOR68XvX2sh1sEOHO" ,
88
88
policyLink = " https://element.io/cookie-policy" ,
89
89
sentryDSN = " https://f6acc9cfc2024641b28c87ad95e73e66@sentry.tools.element.io/49" ,
@@ -95,6 +95,7 @@ object Config {
95
95
* Can be disabled by providing Analytics.Disabled
96
96
*/
97
97
val NIGHTLY_ANALYTICS_CONFIG = RELEASE_ANALYTICS_CONFIG .copy(sentryEnvironment = " NIGHTLY" )
98
+ val RELEASE_R_ANALYTICS_CONFIG = RELEASE_ANALYTICS_CONFIG .copy(sentryEnvironment = " RELEASE-R" )
98
99
val ER_NIGHTLY_ANALYTICS_CONFIG = RELEASE_ANALYTICS_CONFIG .copy(sentryEnvironment = " element-r" )
99
100
val ER_DEBUG_ANALYTICS_CONFIG = DEBUG_ANALYTICS_CONFIG .copy(sentryEnvironment = " element-r" )
100
101
Original file line number Diff line number Diff line change @@ -48,7 +48,11 @@ object ConfigurationModule {
48
48
} else {
49
49
Config .NIGHTLY_ANALYTICS_CONFIG
50
50
}
51
- " release" -> Config .RELEASE_ANALYTICS_CONFIG
51
+ " release" -> if (BuildConfig .FLAVOR == " rustCrypto" ) {
52
+ Config .RELEASE_R_ANALYTICS_CONFIG
53
+ } else {
54
+ Config .RELEASE_ANALYTICS_CONFIG
55
+ }
52
56
else -> throw IllegalStateException (" Unhandled build type: ${BuildConfig .BUILD_TYPE } " )
53
57
}
54
58
return when (config) {
You can’t perform that action at this time.
0 commit comments