From 2c1bfab10903895ece9644bc095597aaef2a75e8 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 14 Aug 2018 13:23:53 +0300 Subject: Message editing API --- juick-common/src/main/java/com/juick/service/MessagesService.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'juick-common/src/main/java/com/juick/service') 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 getUnread(User user); + + boolean updateMessage(Integer mid, Integer rid, String body); } -- cgit v1.2.3