mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-20 00:29:11 +01:00
Ignore link preview descriptions that match the title.
This commit is contained in:
committed by
Cody Henthorne
parent
d625740ca4
commit
bb708e0aa3
@@ -75,6 +75,9 @@ public class LinkPreview {
|
||||
}
|
||||
|
||||
public @NonNull String getDescription() {
|
||||
if (description.equals(title)) {
|
||||
return "";
|
||||
}
|
||||
return description;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user