aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/www
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-12-23 00:23:23 +0300
committerGravatar Vitaly Takmazov2022-12-23 00:23:23 +0300
commit5470e078691099aeb5e3f0599a7c39b991b149ca (patch)
tree8538abdc0e6af4e66cdaf26a6650f1fa6d0de106 /src/main/java/com/juick/www
parenta57278568eb10b843f76ceaa34f0b2ed36acbbb2 (diff)
ActivityPub: send full object on message update
Diffstat (limited to 'src/main/java/com/juick/www')
-rw-r--r--src/main/java/com/juick/www/api/Post.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/www/api/Post.java b/src/main/java/com/juick/www/api/Post.java
index 63c95f2a..c840a590 100644
--- a/src/main/java/com/juick/www/api/Post.java
+++ b/src/main/java/com/juick/www/api/Post.java
@@ -237,7 +237,7 @@ public class Post {
messagesService.getMessage(mid).orElseThrow(IllegalStateException::new)
: messagesService.getReply(mid, rid);
applicationEventPublisher.publishEvent(
- new UpdateEvent(this, author, profileUriBuilder.messageUri(mid, rid)));
+ new UpdateEvent(this, author, result));
return CommandResult.build(result, "Message updated", StringUtils.EMPTY);
}
throw new HttpBadRequestException();