mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-01-25 11:22:06 +00:00
[AB-71] adding cache flag to cached message
This commit is contained in:
@@ -73,6 +73,7 @@ public class CacheEntityServiceBean implements CacheEntityService {
|
|||||||
.id(attachment.getIdLong())
|
.id(attachment.getIdLong())
|
||||||
.fileName(attachment.getFileName())
|
.fileName(attachment.getFileName())
|
||||||
.height(attachment.getHeight())
|
.height(attachment.getHeight())
|
||||||
|
.spoiler(attachment.isSpoiler())
|
||||||
.proxyUrl(attachment.getProxyUrl())
|
.proxyUrl(attachment.getProxyUrl())
|
||||||
.size(attachment.getSize())
|
.size(attachment.getSize())
|
||||||
.url(attachment.getUrl())
|
.url(attachment.getUrl())
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ public class CachedAttachment implements Serializable {
|
|||||||
private Long id;
|
private Long id;
|
||||||
private String proxyUrl;
|
private String proxyUrl;
|
||||||
private String fileName;
|
private String fileName;
|
||||||
|
private Boolean spoiler;
|
||||||
private Integer size;
|
private Integer size;
|
||||||
private Integer height;
|
private Integer height;
|
||||||
private Integer width;
|
private Integer width;
|
||||||
|
|||||||
Reference in New Issue
Block a user