Remove quote fallbacks directly using the option

Stephen Paul Weber created

Change summary

src/main/java/eu/siacs/conversations/entities/Message.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

src/main/java/eu/siacs/conversations/entities/Message.java 🔗

@@ -1262,7 +1262,7 @@ public class Message extends AbstractEntity implements AvatarService.Avatarable
 
     public List<URI> getLinks() {
         SpannableStringBuilder text = new SpannableStringBuilder(
-            getBody().replaceAll("^>.*", "") // Remove quotes
+            getBody(true).replaceAll("^>.*", "") // Remove quotes
         );
         return MyLinkify.extractLinks(text).stream().map((url) -> {
             try {