aboutsummaryrefslogtreecommitdiff
path: root/juick-common/src/main/java/com/juick/service/MessagesService.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-08-14 13:23:53 +0300
committerGravatar Vitaly Takmazov2018-08-14 16:45:12 +0300
commit2c1bfab10903895ece9644bc095597aaef2a75e8 (patch)
treec721f8582e2b9f1d91ab88ce7d3dfb6cd7e9d2d5 /juick-common/src/main/java/com/juick/service/MessagesService.java
parentc0ac4aa5824b45ff9543f60c648625869b11b1a3 (diff)
Message editing API
Diffstat (limited to 'juick-common/src/main/java/com/juick/service/MessagesService.java')
-rw-r--r--juick-common/src/main/java/com/juick/service/MessagesService.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/juick-common/src/main/java/com/juick/service/MessagesService.java b/juick-common/src/main/java/com/juick/service/MessagesService.java
index 28f59153..202e967e 100644
--- a/juick-common/src/main/java/com/juick/service/MessagesService.java
+++ b/juick-common/src/main/java/com/juick/service/MessagesService.java
@@ -17,6 +17,7 @@
package com.juick.service;
+import com.juick.Message;
import com.juick.Reaction;
import com.juick.User;
import com.juick.server.helpers.ResponseReply;
@@ -126,4 +127,6 @@ public interface MessagesService {
void setRead(User user, Integer mid);
List<Integer> getUnread(User user);
+
+ boolean updateMessage(Integer mid, Integer rid, String body);
}