aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/server/CrosspostManager.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-02-09 11:51:09 +0300
committerGravatar Vitaly Takmazov2018-02-09 11:51:09 +0300
commitd85787b7aa2b8f41fe1579ea553a3ca86f0b3c98 (patch)
tree31555904880f07e27401dddc86354d9e36a9e7b7 /juick-server/src/main/java/com/juick/server/CrosspostManager.java
parentc9a59c945b1a9f0f36bf397d88ea0de0ea22f1fe (diff)
server: post top to twitter from service user
Diffstat (limited to 'juick-server/src/main/java/com/juick/server/CrosspostManager.java')
-rw-r--r--juick-server/src/main/java/com/juick/server/CrosspostManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-server/src/main/java/com/juick/server/CrosspostManager.java b/juick-server/src/main/java/com/juick/server/CrosspostManager.java
index edffaf71..1752e1ca 100644
--- a/juick-server/src/main/java/com/juick/server/CrosspostManager.java
+++ b/juick-server/src/main/java/com/juick/server/CrosspostManager.java
@@ -151,7 +151,7 @@ public class CrosspostManager implements ApplicationListener<MessageEvent> {
return ret;
}
- private void twitterPost(final com.juick.Message jmsg) {
+ void twitterPost(final com.juick.Message jmsg) {
crosspostService.getTwitterToken(jmsg.getUser().getUid()).ifPresent(t -> {
String status = MessageUtils.getMessageHashTags(jmsg) + StringUtils.defaultString(jmsg.getText());
if (status.length() > 255) {