mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 02:10:44 +01:00
Fix issue where links do not render in stories if previews are off.
This commit is contained in:
committed by
Cody Henthorne
parent
760ace93d4
commit
8fd378db4e
@@ -3081,7 +3081,7 @@ public final class MessageContentProcessor {
|
||||
LinkPreview linkPreview = new LinkPreview(url.get(), title.orElse(""), description.orElse(""), preview.getDate(), thumbnail);
|
||||
linkPreviews.add(linkPreview);
|
||||
} else {
|
||||
warn(String.format("Discarding an invalid link preview. hasTitle: %b presentInBody: %b validDomain: %b", hasTitle, presentInBody, validDomain));
|
||||
warn(String.format("Discarding an invalid link preview. hasTitle: %b presentInBody: %b isStoryEmbed: %b validDomain: %b", hasTitle, presentInBody, isStoryEmbed, validDomain));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user