diff options
author | Vitaly Takmazov | 2022-03-03 15:15:39 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2022-03-03 15:15:39 +0300 |
commit | c5d03ea70ce732e0eabc7ea90b13b8ab95601c07 (patch) | |
tree | 394417ff54f2067d0e9882e80275d3fbc597a959 /src/main/java/com/juick/service/MessagesService.java | |
parent | 5f06a38b6c2a6641900f79c051c1885a935ff9c3 (diff) |
Fix *readonly tag
Diffstat (limited to 'src/main/java/com/juick/service/MessagesService.java')
-rw-r--r-- | src/main/java/com/juick/service/MessagesService.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/com/juick/service/MessagesService.java b/src/main/java/com/juick/service/MessagesService.java index 188a81c0..d102031d 100644 --- a/src/main/java/com/juick/service/MessagesService.java +++ b/src/main/java/com/juick/service/MessagesService.java @@ -31,7 +31,7 @@ import java.util.*; * Created by aalexeev on 11/13/16. */ public interface MessagesService { - int createMessage(int uid, String txt, String attachment, List<Tag> tags); + int createMessage(int uid, String txt, String attachment, Set<Tag> tags); int createReply(int mid, int rid, User user, String txt, String attachment); enum RecommendStatus { @@ -55,6 +55,8 @@ public interface MessagesService { boolean isReadOnly(int mid); + void setReadOnly(int mid, boolean readonly); + boolean isSubscribed(int uid, int mid); int getMessagePrivacy(int mid); |