diff --git a/app/src/main/java/org/thoughtcrime/securesms/sskenvironment/ProfileManager.kt b/app/src/main/java/org/thoughtcrime/securesms/sskenvironment/ProfileManager.kt index eec6038ca8..2ea5369390 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/sskenvironment/ProfileManager.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/sskenvironment/ProfileManager.kt @@ -95,6 +95,7 @@ class ProfileManager(private val context: Context, private val configFactory: Co if (contact.sessionID == TextSecurePreferences.getLocalNumber(context)) return val sessionId = SessionId(contact.sessionID) if (sessionId.prefix != IdPrefix.STANDARD) return // only internally store standard session IDs + if (contactConfig.get(contact.sessionID) == null) return // don't insert, only update contactConfig.upsertContact(contact.sessionID) { this.name = contact.name.orEmpty() this.nickname = contact.nickname.orEmpty()