mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-09-09 02:09:40 +02:00
Fix NPE for recevied messages with missing public key
This commit is contained in:
parent
171f916df2
commit
2077a5dc96
1 changed files with 4 additions and 0 deletions
|
@ -599,6 +599,10 @@ public final class OpenPgpManager extends Manager {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (contentElement == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
else {
|
else {
|
||||||
throw new AssertionError("Invalid element received: " + contentElement.getClass().getName());
|
throw new AssertionError("Invalid element received: " + contentElement.getClass().getName());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue