Add comment

pull/364/head
Niels Andriesse 5 years ago
parent d9a81ecb11
commit b4e94c3f93

@ -350,7 +350,7 @@ extension MessageReceiver {
} }
} }
// Persist changes // Persist changes
if isCurrentUser { if isCurrentUser { // In the case where it's someone else the profile will already be saved (updateProfileForContact and setProfileKeyData to that internally)
owsProfile?.save(with: transaction) owsProfile?.save(with: transaction)
} }
Storage.shared.setContact(contact, using: transaction) Storage.shared.setContact(contact, using: transaction)

Loading…
Cancel
Save