Keep invitation message consistent until we decide on an alternative

This commit is contained in:
Niels Andriesse 2021-07-07 15:12:05 +10:00
parent 30b4a7ecc8
commit 1cfeac43a3

View File

@ -281,7 +281,7 @@ class SettingsActivity : PassphraseRequiredActionBarActivity() {
private fun sendInvitation() { private fun sendInvitation() {
val intent = Intent() val intent = Intent()
intent.action = Intent.ACTION_SEND intent.action = Intent.ACTION_SEND
val invitation = "Hey, I've been using Session to chat with complete privacy and security. Come join me! Download it at https://getsession.org/. My Session ID is $hexEncodedPublicKey" val invitation = "Hey, I've been using Session to chat with complete privacy and security. Come join me! Download it at https://getsession.org/. My Session ID is $hexEncodedPublicKey!"
intent.putExtra(Intent.EXTRA_TEXT, invitation) intent.putExtra(Intent.EXTRA_TEXT, invitation)
intent.type = "text/plain" intent.type = "text/plain"
startActivity(intent) startActivity(intent)