Skip to content

Commit

Permalink
Tried to fix issue: incorrect reconnect because of outdated increasin…
Browse files Browse the repository at this point in the history
…g method
  • Loading branch information
SNWCreations committed Nov 19, 2023
1 parent 6066048 commit 91f5961
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ protected void event(Frame frame) {
client.getCore().getLogger().warn("Duplicated message from remote. Ignored.");
return;
}
client.getSession().getSN().set(Session.UPDATE_FUNC.applyAsInt(frame.getSN()));
client.getSession().increaseSN();
event0(frame);
processedSN.add(frame.getSN());
saveSN();
Expand Down

0 comments on commit 91f5961

Please sign in to comment.