don't pull support space IDs from .env file (#1157)

pull/1544/head
ggurdin 11 months ago committed by GitHub
parent 3c01ec840c
commit 3d292b2255
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
.gitignore vendored

@ -14,7 +14,7 @@ prime
!/public/.env
*.env.local_choreo
*.env.prod
*.env
# libolm package
/assets/js/package

@ -71,8 +71,9 @@ class Environment {
}
static String get supportSpaceId {
return dotenv.env["SUPPORT_SPACE_ID"] ??
'!gqSNSkvwTpgumyjLsV:staging.pangea.chat';
return isStaging
? '!gqSNSkvwTpgumyjLsV:staging.pangea.chat'
: '!MvJoWwKJErvFuTYOdq:pangea.chat';
}
static String get supportUserId {

@ -6,7 +6,7 @@ description: Learn a language while texting your friends.
# Pangea#
publish_to: none
# On version bump also increase the build number for F-Droid
version: 1.23.15+3574
version: 1.23.16+3575
environment:
sdk: ">=3.0.0 <4.0.0"

Loading…
Cancel
Save