mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 17:27:45 +00:00
Add missing registration logic
This commit is contained in:
parent
3609517ff0
commit
3c2504418d
@ -22,5 +22,6 @@ class AccountDetailsActivity : BaseActionBarActivity() {
|
|||||||
return nameEditText.input.setError("Too Long")
|
return nameEditText.input.setError("Too Long")
|
||||||
}
|
}
|
||||||
startActivity(Intent(this, KeyPairActivity::class.java))
|
startActivity(Intent(this, KeyPairActivity::class.java))
|
||||||
|
finish()
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -79,7 +79,9 @@ class KeyPairActivity : BaseActionBarActivity() {
|
|||||||
IdentityDatabase.VerifiedStatus.VERIFIED, true, System.currentTimeMillis(), true)
|
IdentityDatabase.VerifiedStatus.VERIFIED, true, System.currentTimeMillis(), true)
|
||||||
TextSecurePreferences.setLocalNumber(this, hexEncodedPublicKey)
|
TextSecurePreferences.setLocalNumber(this, hexEncodedPublicKey)
|
||||||
TextSecurePreferences.setProfileName(this, "User McUserFace") // TODO: For debugging purposes
|
TextSecurePreferences.setProfileName(this, "User McUserFace") // TODO: For debugging purposes
|
||||||
|
TextSecurePreferences.setPromptedPushRegistration(this, true)
|
||||||
startActivity(Intent(this, ConversationListActivity::class.java))
|
startActivity(Intent(this, ConversationListActivity::class.java))
|
||||||
|
finish()
|
||||||
}
|
}
|
||||||
// endregion
|
// endregion
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user