fixed rare npe in verify otr fingerprint dialog
This commit is contained in:
parent
121fb58d5e
commit
c86f96e856
|
@ -805,10 +805,12 @@ public class ConversationFragment extends Fragment {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
AlertDialog dialog = UIHelper.getVerifyFingerprintDialog(
|
if (conversation.getOtrFingerprint() != null) {
|
||||||
(ConversationActivity) getActivity(), conversation,
|
AlertDialog dialog = UIHelper.getVerifyFingerprintDialog(
|
||||||
fingerprintWarning);
|
(ConversationActivity) getActivity(), conversation,
|
||||||
dialog.show();
|
fingerprintWarning);
|
||||||
|
dialog.show();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue