Fix ACI null pointer
This commit is contained in:
parent
510965589b
commit
c60c8e998f
@ -845,7 +845,7 @@ public class SignalAccount implements Closeable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public RecipientId getSelfRecipientId() {
|
public RecipientId getSelfRecipientId() {
|
||||||
return recipientStore.resolveRecipientTrusted(new RecipientAddress(aci.uuid(), username));
|
return recipientStore.resolveRecipientTrusted(new RecipientAddress(aci == null ? null : aci.uuid(), username));
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getEncryptedDeviceName() {
|
public String getEncryptedDeviceName() {
|
||||||
|
@ -139,7 +139,7 @@ public class RecipientStore implements RecipientResolver, ContactsStore, Profile
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public RecipientId resolveRecipient(ACI aci) {
|
public RecipientId resolveRecipient(ACI aci) {
|
||||||
return resolveRecipient(new RecipientAddress(aci.uuid()), false);
|
return resolveRecipient(new RecipientAddress(aci == null ? null : aci.uuid()), false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user