Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Bernd Warmuth <[email protected]>

Signed-off-by: Bernd Warmuth <[email protected]>
  • Loading branch information
warber committed Jan 8, 2025
1 parent 7c786f6 commit 9a9a26b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,7 @@ private boolean isConnected() {
}

private void onConnectionEvent(ConnectionEvent connectionEvent) {
final boolean wasConnected = connected; // WHY the F*** is this false? wasconnected is false ,hence no change
// event will be sent. why is was connected false? not updated via event?
final boolean wasConnected = connected;
final boolean isConnected = connected = connectionEvent.isConnected();

syncMetadata = connectionEvent.getSyncMetadata();
Expand Down

0 comments on commit 9a9a26b

Please sign in to comment.