Remove quote fallbacks directly using the option
(cherry picked from commit 38ee9cae7bb10676d38b552546b13d9a7377ddc6)
This commit is contained in:
parent
c78cef6164
commit
f0b6d071ed
1 changed files with 42 additions and 42 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue