From 2379429b534ff5d93cb54f835e95a059fa5f3fc9 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 5 Oct 2018 12:38:19 +0300 Subject: ActivityPub: forward attachment as Image --- .../src/main/java/com/juick/server/api/activity/model/Note.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'juick-server/src/main/java/com/juick/server/api/activity/model') diff --git a/juick-server/src/main/java/com/juick/server/api/activity/model/Note.java b/juick-server/src/main/java/com/juick/server/api/activity/model/Note.java index 61a64f8d..83ef36dd 100644 --- a/juick-server/src/main/java/com/juick/server/api/activity/model/Note.java +++ b/juick-server/src/main/java/com/juick/server/api/activity/model/Note.java @@ -6,7 +6,7 @@ public class Note extends Context { private String content; private String attributedTo; private String inReplyTo; - private Link attachment; + private Image attachment; private List to; private List cc; @@ -26,11 +26,11 @@ public class Note extends Context { this.attributedTo = attributedTo; } - public Link getAttachment() { + public Image getAttachment() { return attachment; } - public void setAttachment(Link attachment) { + public void setAttachment(Image attachment) { this.attachment = attachment; } -- cgit v1.2.3