Fix profile picture and display name updating from a slave device

This commit is contained in:
ryanzhao
2020-06-03 17:03:35 +10:00
parent 85e98dbceb
commit 733ed3ff5a
3 changed files with 28 additions and 1 deletions

View File

@@ -194,6 +194,7 @@ class HomeActivity : PassphraseRequiredActionBarActivity, ConversationClickListe
override fun onResume() {
super.onResume()
profileButton.update()
val isMasterDevice = (TextSecurePreferences.getMasterHexEncodedPublicKey(this) == null)
val hasViewedSeed = TextSecurePreferences.getHasViewedSeed(this)
if (hasViewedSeed || !isMasterDevice) {