mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-25 20:37:32 +00: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