diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/juick/www/api/Messages.java | 2 | ||||
-rw-r--r-- | src/main/java/com/juick/www/controllers/Site.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/juick/www/api/Messages.java b/src/main/java/com/juick/www/api/Messages.java index c9936dee..ead2c076 100644 --- a/src/main/java/com/juick/www/api/Messages.java +++ b/src/main/java/com/juick/www/api/Messages.java @@ -93,7 +93,7 @@ public class Messages { User user = userService.getUserByName(uname); int privacy = 0; if (!visitor.isAnonymous()) { - if (user.getUid() == visitor.getUid() || visitor.getUid() == 1) { + if (user.getUid() == visitor.getUid()) { privacy = -3; } else if (userService.isInWL(user.getUid(), visitor.getUid())) { privacy = -2; diff --git a/src/main/java/com/juick/www/controllers/Site.java b/src/main/java/com/juick/www/controllers/Site.java index 834a2a25..00c27607 100644 --- a/src/main/java/com/juick/www/controllers/Site.java +++ b/src/main/java/com/juick/www/controllers/Site.java @@ -255,7 +255,7 @@ public class Site { int privacy = 0; if (!visitor.isAnonymous()) { - if (user.getUid() == visitor.getUid() || visitor.getUid() == 1) { + if (user.getUid() == visitor.getUid()) { privacy = -3; } else if (userService.isInWL(user.getUid(), visitor.getUid())) { privacy = -2; |