~singpolyma/cheogram-android

73389f84c0b3fdc2143bd28f879bcee1512564a9 — Stephen Paul Weber 10 months ago 7e5c69c
Fix NPE
1 files changed, 1 insertions(+), 1 deletions(-)

M src/main/java/eu/siacs/conversations/entities/Message.java
M src/main/java/eu/siacs/conversations/entities/Message.java => src/main/java/eu/siacs/conversations/entities/Message.java +1 -1
@@ 993,7 993,7 @@ public class Message extends AbstractEntity implements AvatarService.Avatarable 
                Html.FROM_HTML_MODE_COMPACT,
                (source) -> {
                   try {
                       if (thumbnailer == null) return fallbackImg;
                       if (thumbnailer == null || source == null) return fallbackImg;
                       Cid cid = BobTransfer.cid(new URI(source));
                       if (cid == null) return fallbackImg;
                       Drawable thumbnail = thumbnailer.getThumbnail(cid);