Skip to content

Commit

Permalink
Remove return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
BasselAshi committed Nov 17, 2023
1 parent ff3b1f9 commit 4d3e6d4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/java/it/auties/whatsapp/socket/SocketHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -662,10 +662,6 @@ protected void onUpdateChatPresence(ContactStatus status, Jid jid, Chat chat) {
var contact = store.findContactByJid(jid);
if (contact.isPresent()) {
contact.get().setLastKnownPresence(status);
if (status == contact.get().lastKnownPresence()) {
return;
}

contact.get().setLastSeen(ZonedDateTime.now());
}

Expand Down

0 comments on commit 4d3e6d4

Please sign in to comment.