diff options
author | Vitaly Takmazov | 2023-07-19 23:50:14 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-07-19 23:59:40 +0300 |
commit | c576c003716851863c832b5e0dacb9186516f167 (patch) | |
tree | 420c517806d28db3c8f448eacbc3d61f01106629 /src/main/java/com/juick/www/controllers/Site.java | |
parent | 128753a9bd11e09940d58d97c67db59a15251b71 (diff) |
Migrate to Twitter API 2.0
Diffstat (limited to 'src/main/java/com/juick/www/controllers/Site.java')
-rw-r--r-- | src/main/java/com/juick/www/controllers/Site.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/juick/www/controllers/Site.java b/src/main/java/com/juick/www/controllers/Site.java index 8b35593c..47438900 100644 --- a/src/main/java/com/juick/www/controllers/Site.java +++ b/src/main/java/com/juick/www/controllers/Site.java @@ -95,6 +95,7 @@ public class Site { tagService.getUserTagStats(user.getUid()).stream() .sorted((e1, e2) -> Integer.compare(e2.getUsageCount(), e1.getUsageCount())).limit(20) .map(t -> t.getTag().getName()).toList()); + model.addAttribute("twitter1", userService.isTwitter1User(user)); } @GetMapping("/login") |