aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/java/com
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-01-13 14:23:56 +0300
committerGravatar Vitaly Takmazov2017-01-13 14:23:56 +0300
commit49ddd61180bc76826a9428360ffee3ce05ee148f (patch)
tree717080c04d38afdb3228b3dac9bc28da62a7fae6 /juick-www/src/main/java/com
parent0f256ec22179b327a35611a8e28c1f503831050c (diff)
juick-www: fix facebook status
Diffstat (limited to 'juick-www/src/main/java/com')
-rw-r--r--juick-www/src/main/java/com/juick/www/controllers/Settings.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-www/src/main/java/com/juick/www/controllers/Settings.java b/juick-www/src/main/java/com/juick/www/controllers/Settings.java
index 63cf99e6..6cafbb7e 100644
--- a/juick-www/src/main/java/com/juick/www/controllers/Settings.java
+++ b/juick-www/src/main/java/com/juick/www/controllers/Settings.java
@@ -104,7 +104,7 @@ public class Settings {
List<String> hours = IntStream.rangeClosed(0, 23).boxed()
.map(i -> StringUtils.leftPad(String.format("%d", i), 2, "0")).collect(Collectors.toList());
model.addAttribute("hours", hours);
- model.addAttribute("fbstatus", crosspostService.getFbCrossPostStatus(visitor.getUid()).isCrosspostEnabled());
+ model.addAttribute("fbstatus", crosspostService.getFbCrossPostStatus(visitor.getUid()));
model.addAttribute("twitter_name", crosspostService.getTwitterName(visitor.getUid()));
model.addAttribute("telegram_name", crosspostService.getTelegramName(visitor.getUid()));
model.addAttribute("notify_options", subscriptionService.getNotifyOptions(visitor));