Revert "feat(assist-api): no comments"

This reverts commit bd1c4bcdea22a5099a7f5ffb246fdec0bbd6576a.
This commit is contained in:
Alexander 2025-04-15 09:25:00 +02:00
parent 28cb2ba74c
commit b7d2d9d77a

View file

@ -329,9 +329,6 @@ func (sm *sessionManagerImpl) updateSessions() {
sm.mutex.RLock()
toAdd := make([]string, 0, len(updatedSessIDs))
if updatedSessIDs == nil {
updatedSessIDs = make(map[string]struct{})
}
for sessID, _ := range sessIDs {
if _, exists := sm.cache[sessID]; !exists {
updatedSessIDs[sessID] = struct{}{} // Add to updated sessions if not in cache