diff options
author | Vitaly Takmazov | 2018-10-05 12:38:19 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-10-05 12:38:19 +0300 |
commit | 2379429b534ff5d93cb54f835e95a059fa5f3fc9 (patch) | |
tree | 42874e32185977ef50c7efbe14d71c1764d183af /juick-server/src/main/java/com/juick/server/api/activity/model | |
parent | 0a67254245046236f82733c95e84a23ffcfdc45c (diff) |
ActivityPub: forward attachment as Image
Diffstat (limited to 'juick-server/src/main/java/com/juick/server/api/activity/model')
-rw-r--r-- | juick-server/src/main/java/com/juick/server/api/activity/model/Note.java | 6 |
1 files changed, 3 insertions, 3 deletions
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<String> to; private List<String> 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; } |