Add http to invite url.

// FREEBIE
This commit is contained in:
Moxie Marlinspike 2015-03-25 11:18:38 -07:00
parent b9e6cff20c
commit 6c386d3fc9

View File

@ -345,7 +345,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
try { try {
boolean a = SecureRandom.getInstance("SHA1PRNG").nextBoolean(); boolean a = SecureRandom.getInstance("SHA1PRNG").nextBoolean();
if (a) composeText.appendInvite(getString(R.string.ConversationActivity_get_with_it, "http://sgnl.link/1IvurmD")); if (a) composeText.appendInvite(getString(R.string.ConversationActivity_get_with_it, "http://sgnl.link/1IvurmD"));
else composeText.appendInvite(getString(R.string.ConversationActivity_lets_use_this_to_chat, "sgnl.link/1CYCQQN")); else composeText.appendInvite(getString(R.string.ConversationActivity_lets_use_this_to_chat, "http://sgnl.link/1CYCQQN"));
} catch (NoSuchAlgorithmException e) { } catch (NoSuchAlgorithmException e) {
throw new AssertionError(e); throw new AssertionError(e);
} }