Skip to content

Commit

Permalink
don't pull support space IDs from .env file (#1157)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggurdin authored Dec 5, 2024
1 parent 3c01ec8 commit 3d292b2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ prime
!/public/.env
*.env.local_choreo
*.env.prod

*.env
# libolm package
/assets/js/package

Expand Down
5 changes: 3 additions & 2 deletions lib/pangea/config/environment.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3d292b2

Please sign in to comment.