Skip to content

Commit

Permalink
[TF][BRAND] Send invite link to F-Droid
Browse files Browse the repository at this point in the history
  • Loading branch information
thermatk committed Jul 26, 2020
1 parent 9061566 commit f58e369
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class BuildVars {
public static int APP_ID = BuildConfig.APP_ID; //obtain your own APP_ID at https://core.telegram.org/api/obtaining_api_id
public static String APP_HASH = BuildConfig.APP_HASH; //obtain your own APP_HASH at https://core.telegram.org/api/obtaining_api_id
public static String SMS_HASH = DEBUG_VERSION ? "O2P2z+/jBpJ" : "oLeq9AcOZkT";
public static String PLAYSTORE_APP_URL = "https://play.google.com/store/apps/details?id=org.telegram.messenger";
public static String PLAYSTORE_APP_URL = "https://f-droid.org/en/packages/org.telegram.messenger/";

static {
if (ApplicationLoader.applicationContext != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ public void checkInviteText() {
}

public String getInviteText(int contacts) {
String link = inviteLink == null ? "https://telegram.org/dl" : inviteLink;
String link = inviteLink == null ? "https://f-droid.org/packages/org.telegram.messenger" : inviteLink;
if (contacts <= 1) {
return LocaleController.formatString("InviteText2", R.string.InviteText2, link);
} else {
Expand Down

0 comments on commit f58e369

Please sign in to comment.