aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/ActivityPubManager.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-12-21 01:18:05 +0300
committerGravatar Vitaly Takmazov2022-12-21 02:00:31 +0300
commita740c0e1d4e9f89ef7decfe4225e53555121f93b (patch)
tree4a28bcdffc0c4ede163dd4a03a29ab4984fb39a3 /src/main/java/com/juick/ActivityPubManager.java
parent79d1eeadf3cda6790e33c18e669cd8b8c3f12196 (diff)
Switch from `lombok` to Java 17 `record`
Diffstat (limited to 'src/main/java/com/juick/ActivityPubManager.java')
-rw-r--r--src/main/java/com/juick/ActivityPubManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/ActivityPubManager.java b/src/main/java/com/juick/ActivityPubManager.java
index 0a1d957a..4324df11 100644
--- a/src/main/java/com/juick/ActivityPubManager.java
+++ b/src/main/java/com/juick/ActivityPubManager.java
@@ -307,7 +307,7 @@ public class ActivityPubManager implements ActivityListener, NotificationListene
PebbleTemplate noteTemplate = pebbleEngine.getTemplate("layouts/note");
Map<String, Object> context = new HashMap<>();
context.put("msg", msg);
- context.put("baseUri", profileUriBuilder.getBaseUri());
+ context.put("baseUri", profileUriBuilder.baseUri());
try {
Writer writer = new StringWriter();
noteTemplate.evaluate(writer, context);