mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-25 02:55:23 +00:00
refactor: remove populate public key cache if needed call which seems unnecessary at that point, maybe UserView refs have changed since 2020
This commit is contained in:
parent
da330273c8
commit
2b096019d6
@ -54,9 +54,6 @@ class UserView : LinearLayout {
|
||||
val contact = DatabaseComponent.get(context).sessionContactDatabase().getContactWithSessionID(publicKey)
|
||||
return contact?.displayName(Contact.ContactContext.REGULAR) ?: publicKey
|
||||
}
|
||||
MessagingModuleConfiguration.shared.storage.getThreadId(user.address)?.let { threadID ->
|
||||
MentionManagerUtilities.populateUserPublicKeyCacheIfNeeded(threadID, context) // FIXME: This is a bad place to do this
|
||||
}
|
||||
val address = user.address.serialize()
|
||||
binding.profilePictureView.root.glide = glide
|
||||
binding.profilePictureView.root.update(user)
|
||||
|
Loading…
Reference in New Issue
Block a user