Fix NPE when eventListener is not set.

fork-5.53.8
Alex Hart 2021-09-29 12:06:05 -03:00 zatwierdzone przez Cody Henthorne
rodzic 4b3580d98a
commit 6625ac02d5
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -1683,7 +1683,9 @@ public final class ConversationItem extends RelativeLayout implements BindableCo
return null;
} else {
return new GiphyMp4PlaybackPolicyEnforcer(() -> {
if (eventListener != null) {
eventListener.onPlayInlineContent(null);
}
});
}
}