Skip to content

Commit

Permalink
Remove leftover comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Nov 18, 2024
1 parent e82e8f1 commit 5bef8f0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crypto/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,6 @@ func (gs *MemoryStore) DeleteSession(ctx context.Context, senderKey id.SenderKey
gs.Sessions[senderKey] = slices.DeleteFunc(sessions, func(session *OlmSession) bool {
return session == target
})
// we don't need to do anything here because the session is a pointer and already stored in our map
return gs.save()
}

Expand Down

0 comments on commit 5bef8f0

Please sign in to comment.