diff options
author | Vitaly Takmazov | 2023-01-04 07:18:16 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-04 07:18:16 +0300 |
commit | 0e20ca44eee0cb2726b575aed88a495206481973 (patch) | |
tree | 65dc225857d836eebd5acca9125fbc1cdde0c158 /src/main/java/com/juick/www/api/Post.java | |
parent | a48e976347abe9e61d7b4ba61831098629aabece (diff) |
ActivityPub: handle Note updates
Diffstat (limited to 'src/main/java/com/juick/www/api/Post.java')
-rw-r--r-- | src/main/java/com/juick/www/api/Post.java | 2 |
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 2a92178d..2dba6e07 100644 --- a/src/main/java/com/juick/www/api/Post.java +++ b/src/main/java/com/juick/www/api/Post.java @@ -225,7 +225,7 @@ public class Post { @RequestParam String body) { User author = rid == 0 ? messagesService.getMessageAuthor(mid) : messagesService.getReply(mid, rid).getUser(); if (visitor.equals(author)) { - if (messagesService.updateMessage(mid, rid, body)) { + if (messagesService.updateMessage(mid, rid, body, false)) { Message result = rid == 0 ? messagesService.getMessage(mid).orElseThrow(IllegalStateException::new) : messagesService.getReply(mid, rid); |