forked from mirror/monocles_chat_clean
Fix NPE
(cherry picked from commit 5ae202766d99887b6a748dd0463124898a35bf3d)
This commit is contained in:
parent
aa9097d89d
commit
2fa987cd11
1 changed files with 1 additions and 1 deletions
|
@ -1561,7 +1561,7 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl
|
||||||
final var script = locale.getScript();
|
final var script = locale.getScript();
|
||||||
for (final var m : messages) {
|
for (final var m : messages) {
|
||||||
if (getMode() != MODE_MULTI) {
|
if (getMode() != MODE_MULTI) {
|
||||||
final var resource = m.getCounterpart().getResource();
|
final var resource = m.getCounterpart() == null ? null : m.getCounterpart().getResource();
|
||||||
if (resource != null && resource.length() < 10) {
|
if (resource != null && resource.length() < 10) {
|
||||||
anyMatchSpam = true;
|
anyMatchSpam = true;
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue