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,6 +348,8 @@ public final class MultiShareSender {
|
||||
linkPreview.getDate(),
|
||||
linkPreview.getThumbnail().map(thumbnail ->
|
||||
thumbnail instanceof UriAttachment ? thumbnail
|
||||
: thumbnail.getUri() == null
|
||||
? null
|
||||
: new ImageSlide(context,
|
||||
thumbnail.getUri(),
|
||||
thumbnail.getContentType(),
|
||||
|
||||
Reference in New Issue
Block a user