[AB-71] adding cache flag to cached message

This commit is contained in:
Sheldan
2022-10-06 00:34:22 +02:00
parent 8ab0eaedda
commit ad92ccd181
2 changed files with 2 additions and 0 deletions

View File

@@ -73,6 +73,7 @@ public class CacheEntityServiceBean implements CacheEntityService {
.id(attachment.getIdLong())
.fileName(attachment.getFileName())
.height(attachment.getHeight())
.spoiler(attachment.isSpoiler())
.proxyUrl(attachment.getProxyUrl())
.size(attachment.getSize())
.url(attachment.getUrl())

View File

@@ -14,6 +14,7 @@ public class CachedAttachment implements Serializable {
private Long id;
private String proxyUrl;
private String fileName;
private Boolean spoiler;
private Integer size;
private Integer height;
private Integer width;