mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-04 16:25:06 -05:00
Fix NPE: consider unknown keys UNDECIDED
This commit is contained in:
parent
77920c7aa6
commit
e10a6c5b87
@ -64,7 +64,8 @@ public class XmppAxolotlSession {
|
||||
}
|
||||
|
||||
protected SQLiteAxolotlStore.Trust getTrust() {
|
||||
return sqLiteAxolotlStore.getFingerprintTrust(fingerprint);
|
||||
SQLiteAxolotlStore.Trust trust = sqLiteAxolotlStore.getFingerprintTrust(fingerprint);
|
||||
return (trust == null)? SQLiteAxolotlStore.Trust.UNDECIDED : trust;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
|
Loading…
Reference in New Issue
Block a user