diff options
author | Vitaly Takmazov | 2017-10-15 05:37:18 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-10-15 19:50:15 +0300 |
commit | 9a4add44ecbd32dea6ac3d30fd81ae1ac82e3dbc (patch) | |
tree | 38b7a4ba01d1fc47841d3ba2787209b2b2a2de9e /juick-rss/src/main/java/com/juick/rss/MessagesView.java | |
parent | aeda9e3733e685f5069b5cfbb16272cd32073fa0 (diff) |
api: ImagesService
Diffstat (limited to 'juick-rss/src/main/java/com/juick/rss/MessagesView.java')
-rw-r--r-- | juick-rss/src/main/java/com/juick/rss/MessagesView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-rss/src/main/java/com/juick/rss/MessagesView.java b/juick-rss/src/main/java/com/juick/rss/MessagesView.java index 146641c5..ae06412b 100644 --- a/juick-rss/src/main/java/com/juick/rss/MessagesView.java +++ b/juick-rss/src/main/java/com/juick/rss/MessagesView.java @@ -125,7 +125,7 @@ public class MessagesView extends AbstractRssFeedView { String type = msg.getAttachmentType().equals("jpg") ? "image/jpeg" : "image/png"; MediaEntryModuleImpl module = new MediaEntryModuleImpl(); try { - UrlReference reference = new UrlReference(msg.getAttachmentURL()); + UrlReference reference = new UrlReference(msg.getAttachment().getUrl()); MediaContent mediaContent = new MediaContent(reference); mediaContent.setType(type); Metadata metadata = new Metadata(); |