Skip to content

Commit

Permalink
修改pc等平台pushtype越界问题
Browse files Browse the repository at this point in the history
  • Loading branch information
heavyrain2012 committed Sep 7, 2019
1 parent 4b7804c commit 83b6ae5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,7 @@ void updateSession(String uid, String cid, MemorySessionStore.Session session, W
statement.setInt(index++, request.getPlatform());
}
if (session.getPushType() != request.getPushType()) {
statement.setInt(index++, request.getPushType());
statement.setInt(index++, request.getPushType() >= 32 ? 0 : request.getPushType());
}
if (!strEqual(session.getDeviceName(), request.getDeviceName())) {
statement.setString(index++, request.getDeviceName());
Expand Down

0 comments on commit 83b6ae5

Please sign in to comment.