mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 20:48:43 +00:00
Drop link preview thumbnail from forward if URI isn't present.
This commit is contained in:
@@ -348,7 +348,9 @@ public final class MultiShareSender {
|
|||||||
linkPreview.getDate(),
|
linkPreview.getDate(),
|
||||||
linkPreview.getThumbnail().map(thumbnail ->
|
linkPreview.getThumbnail().map(thumbnail ->
|
||||||
thumbnail instanceof UriAttachment ? thumbnail
|
thumbnail instanceof UriAttachment ? thumbnail
|
||||||
: new ImageSlide(context,
|
: thumbnail.getUri() == null
|
||||||
|
? null
|
||||||
|
: new ImageSlide(context,
|
||||||
thumbnail.getUri(),
|
thumbnail.getUri(),
|
||||||
thumbnail.getContentType(),
|
thumbnail.getContentType(),
|
||||||
thumbnail.getSize(),
|
thumbnail.getSize(),
|
||||||
|
|||||||
Reference in New Issue
Block a user