mirror of
https://github.com/micahflee/TM-SGNL-Android.git
synced 2025-08-04 19:08:33 +00:00
start auth to update first name of teleamessage user
This commit is contained in:
parent
d2b6a74681
commit
7adb755d56
1 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ open class ConversationListFragment : SignalConversationListFragment(), IAuthent
|
|||
Log.d(TAG, "onViewCreated")
|
||||
|
||||
|
||||
if (CommonUtils.isActivatedUser(requireContext())) {
|
||||
if (CommonUtils.isActivatedUser(requireContext()) && PrefManager.getStringPref(activity, "pref_my_first_name", "") != "") {
|
||||
WorkerIntentService.startJobIntentService(requireContext(), true)
|
||||
ArchiveUtil.startKeepAliveWorker(requireContext())
|
||||
} else {
|
||||
|
@ -87,7 +87,7 @@ open class ConversationListFragment : SignalConversationListFragment(), IAuthent
|
|||
}
|
||||
|
||||
fun startSelfAuth() {
|
||||
if (!CommonUtils.isActivatedUser(requireContext())) {
|
||||
if (!CommonUtils.isActivatedUser(requireContext()) || PrefManager.getStringPref(activity, "pref_my_first_name", "") == "") {
|
||||
initTeleMessageSignalFirebaseAccount(requireContext(), null, true)
|
||||
createAndShowAuthProgressDialog(requireContext(), true)
|
||||
startAuthenticationProcess(requireContext(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue