1
0
Fork 1

Remove quote fallbacks directly using the option

(cherry picked from commit 38ee9cae7bb10676d38b552546b13d9a7377ddc6)
This commit is contained in:
Stephen Paul Weber 2024-10-05 05:05:25 +02:00 committed by Arne
parent c78cef6164
commit f0b6d071ed

View file

@ -691,7 +691,7 @@ public class Message extends AbstractEntity implements AvatarService.Avatarable
}
public String getOccupantId() {
return this.occupantId;
return occupantId;
}
public void setMucUser(MucOptions.User user) {
@ -1285,7 +1285,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 {