mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-25 23:38:56 +00:00
fix up the crash of mention. fix up the '@' issue.
This commit is contained in:
@@ -109,7 +109,7 @@ public class AvatarImageView extends AppCompatImageView {
|
||||
|
||||
public void update(String hexEncodedPublicKey) {
|
||||
Address address = Address.fromSerialized(hexEncodedPublicKey);
|
||||
if (!address.equals(recipient.getAddress())) {
|
||||
if (recipient == null || !address.equals(recipient.getAddress())) {
|
||||
this.recipient = Recipient.from(getContext(), address, false);
|
||||
updateImage();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user