diff options
author | 2018-10-05 12:57:43 +0300 | |
---|---|---|
committer | 2018-10-05 13:00:08 +0300 | |
commit | 25e10eabde194dd75d3f91d2ed5683f1858cf7e1 (patch) | |
tree | 6caccf6101fedbc22165a915926715ecc32d923b /juick-server/src/main/java/com/juick/server/api/activity/model/Context.java | |
parent | 2379429b534ff5d93cb54f835e95a059fa5f3fc9 (diff) |
ActivityPub: web urls for Note and Person
Diffstat (limited to 'juick-server/src/main/java/com/juick/server/api/activity/model/Context.java')
-rw-r--r-- | juick-server/src/main/java/com/juick/server/api/activity/model/Context.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/juick-server/src/main/java/com/juick/server/api/activity/model/Context.java b/juick-server/src/main/java/com/juick/server/api/activity/model/Context.java index 9eb03c6f..2bc499aa 100644 --- a/juick-server/src/main/java/com/juick/server/api/activity/model/Context.java +++ b/juick-server/src/main/java/com/juick/server/api/activity/model/Context.java @@ -36,6 +36,7 @@ public abstract class Context { private Instant published; + private String url; private List<String> to; @@ -81,4 +82,12 @@ public abstract class Context { response.context = Arrays.asList(ACTIVITY_STREAMS_URI, SECURITY_URI); return response; } + + public String getUrl() { + return url; + } + + public void setUrl(String url) { + this.url = url; + } } |