mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
delete old statuses
This commit is contained in:
@@ -33,6 +33,7 @@ public class Entry implements Serializable {
|
||||
|
||||
entry.setRead(status.isRead());
|
||||
entry.setStarred(status.isStarred());
|
||||
entry.setMarkable(status.isMarkable());
|
||||
|
||||
entry.setId(String.valueOf(feedEntry.getId()));
|
||||
entry.setGuid(feedEntry.getGuid());
|
||||
@@ -124,6 +125,9 @@ public class Entry implements Serializable {
|
||||
@ApiProperty("starred status")
|
||||
private boolean starred;
|
||||
|
||||
@ApiProperty("wether the entry is still markable (old entry statuses are discarded)")
|
||||
private boolean markable;
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
@@ -268,4 +272,12 @@ public class Entry implements Serializable {
|
||||
this.insertedDate = insertedDate;
|
||||
}
|
||||
|
||||
public boolean isMarkable() {
|
||||
return markable;
|
||||
}
|
||||
|
||||
public void setMarkable(boolean markable) {
|
||||
this.markable = markable;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user