aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-09-13 15:45:52 +0300
committerGravatar Vitaly Takmazov2018-09-13 15:45:52 +0300
commit62d4f6f3fabe69b0e08195e99eedd72442bffa68 (patch)
tree65d54c9d2ffe5620d27224825fb4050abe2ea912 /juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java
parentd6bd717e553be5d339cf05bca099539844ba68a5 (diff)
hide banned from search
Diffstat (limited to 'juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java')
-rw-r--r--juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java b/juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java
index 5dba41be..fbf22d59 100644
--- a/juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java
+++ b/juick-server/src/main/java/com/juick/service/MessagesServiceImpl.java
@@ -652,8 +652,8 @@ public class MessagesServiceImpl extends BaseJdbcService implements MessagesServ
@Transactional(readOnly = true)
@Override
- public List<Integer> getSearch(final String search, final int page) {
- return searchService.searchInAllMessages(search, page);
+ public List<Integer> getSearch(final User visitor, final String search, final int page) {
+ return searchService.searchInAllMessages(visitor, search, page);
}
@Transactional(readOnly = true)
@@ -789,8 +789,8 @@ public class MessagesServiceImpl extends BaseJdbcService implements MessagesServ
@Transactional(readOnly = true)
@Override
- public List<Integer> getUserSearch(final int UID, final String search, final int privacy, final int page) {
- return searchService.searchByStringAndUser(search, UID, page);
+ public List<Integer> getUserSearch(final User visitor, final int UID, final String search, final int privacy, final int page) {
+ return searchService.searchByStringAndUser(visitor, search, UID, page);
}
@Transactional(readOnly = true)