aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'juick-server/src/main/java/com')
-rw-r--r--juick-server/src/main/java/com/juick/server/www/controllers/SignUp.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-server/src/main/java/com/juick/server/www/controllers/SignUp.java b/juick-server/src/main/java/com/juick/server/www/controllers/SignUp.java
index 6d72aecc..6a4fe063 100644
--- a/juick-server/src/main/java/com/juick/server/www/controllers/SignUp.java
+++ b/juick-server/src/main/java/com/juick/server/www/controllers/SignUp.java
@@ -124,7 +124,7 @@ public class SignUp {
if (!(type.charAt(0) == 'f' && crosspostService.setFacebookUser(hash, uid))
&& !(type.charAt(0) == 'v' && crosspostService.setVKUser(hash, uid))
&& !(type.charAt(0) == 'd' && crosspostService.setTelegramUser(hash, uid))
- && !(type.charAt(0) == 'x' && crosspostService.setJIDUser(hash, uid))
+ && !(type.charAt(0) == 'x' && userService.getAllJIDs(visitor).size() > 0 && crosspostService.setJIDUser(hash, uid))
&& !(type.charAt(0) == 'm' && messengerService.linkMessengerUser(hash, uid))) {
if (type.equals("email")) {
String email = emailService.getEmailByAuthCode(hash);