diff options
author | Vitaly Takmazov | 2018-02-25 09:04:17 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-03-21 11:45:00 +0300 |
commit | 9b201b07dc6caa147ea79b359e448f2649353039 (patch) | |
tree | 02f732c7ba6e249a4b65998c4584c14d1c0cb91c /juick-common/src/main/java | |
parent | 1e4198d2aad02eca56157fcd24425a1eaa6041ee (diff) |
xmpp: recommend command
Diffstat (limited to 'juick-common/src/main/java')
-rw-r--r-- | juick-common/src/main/java/com/juick/service/MessagesService.java | 8 |
1 files changed, 7 insertions, 1 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 341175dd..2dce2806 100644 --- a/juick-common/src/main/java/com/juick/service/MessagesService.java +++ b/juick-common/src/main/java/com/juick/service/MessagesService.java @@ -33,7 +33,13 @@ public interface MessagesService { int getReplyIDIncrement(int mid); - boolean recommendMessage(int mid, int vuid); + enum RecommendStatus { + Error, + Added, + Deleted + } + + RecommendStatus recommendMessage(int mid, int vuid); boolean canViewThread(int mid, int uid); |