aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/service/UserServiceImpl.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-10-23 14:38:54 +0300
committerGravatar Vitaly Takmazov2018-10-23 14:38:54 +0300
commit09d0533511faee6ab2da2fd6db79eb0063fd429e (patch)
tree0d2313f626ff4cdc2a4330caf9dc2020d8aa10d0 /juick-server/src/main/java/com/juick/service/UserServiceImpl.java
parent2ec703610f07225ce2f82481aa736b6dca21e2d2 (diff)
Do not use subscribed users jid
Diffstat (limited to 'juick-server/src/main/java/com/juick/service/UserServiceImpl.java')
-rw-r--r--juick-server/src/main/java/com/juick/service/UserServiceImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/juick-server/src/main/java/com/juick/service/UserServiceImpl.java b/juick-server/src/main/java/com/juick/service/UserServiceImpl.java
index 82e9a124..ead71e2f 100644
--- a/juick-server/src/main/java/com/juick/service/UserServiceImpl.java
+++ b/juick-server/src/main/java/com/juick/service/UserServiceImpl.java
@@ -530,8 +530,8 @@ public class UserServiceImpl extends BaseJdbcService implements UserService {
"VALUES (?,?,?,?)" +
" ON DUPLICATE KEY UPDATE access_token=?,access_token_secret=?,uname=?",
user.getUid(), accessToken, accessTokenSecret, screenName, accessToken, accessTokenSecret, screenName) > 0) {
- return getJdbcTemplate().update("INSERT INTO subscr_users(user_id,suser_id,jid) " +
- "VALUES (?,1741,'juick\\@twitter.juick.com')", user.getUid()) > 0;
+ return getJdbcTemplate().update("INSERT INTO subscr_users(user_id,suser_id) " +
+ "VALUES (?,1741)", user.getUid()) > 0;
}
return false;