aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/www/controllers/Site.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-04-26 08:38:13 +0300
committerGravatar Vitaly Takmazov2023-04-26 08:38:13 +0300
commite0c9e617dc84296593f732f2c414d1ebe7d7d640 (patch)
tree87de2fd7fb0f5294e6d4c5b8a3f521d0d4a6d62b /src/main/java/com/juick/www/controllers/Site.java
parentabecbe6d9c9016bd40cb97d7c4206e1a4cc15c41 (diff)
Do not show hidden messages to ugnich
Diffstat (limited to 'src/main/java/com/juick/www/controllers/Site.java')
-rw-r--r--src/main/java/com/juick/www/controllers/Site.java2
1 files changed, 1 insertions, 1 deletions
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;