mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-10 10:28:39 +00:00
Ignore link preview descriptions that match the title.
This commit is contained in:
parent
d625740ca4
commit
bb708e0aa3
@ -75,6 +75,9 @@ public class LinkPreview {
|
||||
}
|
||||
|
||||
public @NonNull String getDescription() {
|
||||
if (description.equals(title)) {
|
||||
return "";
|
||||
}
|
||||
return description;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user