mirror of
https://codeberg.org/monocles/monocles_chat.git
synced 2025-01-31 01:01:37 +01:00
Fix NPE: consider unknown keys UNDECIDED
This commit is contained in:
parent
77920c7aa6
commit
e10a6c5b87
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue