aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/server/api
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-10-05 12:38:19 +0300
committerGravatar Vitaly Takmazov2018-10-05 12:38:19 +0300
commit2379429b534ff5d93cb54f835e95a059fa5f3fc9 (patch)
tree42874e32185977ef50c7efbe14d71c1764d183af /juick-server/src/main/java/com/juick/server/api
parent0a67254245046236f82733c95e84a23ffcfdc45c (diff)
ActivityPub: forward attachment as Image
Diffstat (limited to 'juick-server/src/main/java/com/juick/server/api')
-rw-r--r--juick-server/src/main/java/com/juick/server/api/activity/model/Note.java6
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;
}