aboutsummaryrefslogtreecommitdiff
path: root/juick-api/src/main/java/com/juick/api/MessengerManager.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-01-12 11:34:43 +0300
committerGravatar Vitaly Takmazov2018-01-12 11:34:43 +0300
commit40b392f1d63f6aaa8794beaff4c0432dd29f1858 (patch)
tree96bec459d88522124196d9d8ca92e677b48d2da8 /juick-api/src/main/java/com/juick/api/MessengerManager.java
parent59d08c3fe59077238e7f7774be359a7966ed522c (diff)
refactoring and tests fixes
Diffstat (limited to 'juick-api/src/main/java/com/juick/api/MessengerManager.java')
-rw-r--r--juick-api/src/main/java/com/juick/api/MessengerManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/juick-api/src/main/java/com/juick/api/MessengerManager.java b/juick-api/src/main/java/com/juick/api/MessengerManager.java
index f1babe81..2008144a 100644
--- a/juick-api/src/main/java/com/juick/api/MessengerManager.java
+++ b/juick-api/src/main/java/com/juick/api/MessengerManager.java
@@ -120,7 +120,7 @@ public class MessengerManager implements ApplicationListener<MessageEvent> {
}
}
- void messengerNotify(String messengerUser, String text, String url) {
+ private void messengerNotify(String messengerUser, String text, String url) {
try {
if (!StringUtils.isEmpty(url)) {
final UrlButton showMessage = UrlButton.create("VIEW MESSAGE", new URL(url));
@@ -133,7 +133,7 @@ public class MessengerManager implements ApplicationListener<MessageEvent> {
logger.warn("messenger error", e);
}
}
- void signupNotify(String messengerUser, String hash) throws MalformedURLException, MessengerApiException, MessengerIOException {
+ private void signupNotify(String messengerUser, String hash) throws MalformedURLException, MessengerApiException, MessengerIOException {
final UrlButton urlButton = UrlButton.create("LOGIN",
new URL("https://juick.com/signup?type=messenger&hash=" + hash));
ButtonTemplate template = ButtonTemplate.create("Login to receive notifications",