From b141dcdb471e204041d8ad1d1a839f19ffea03bc Mon Sep 17 00:00:00 2001 From: mcrakhman Date: Tue, 23 May 2023 11:51:42 +0200 Subject: [PATCH] Remove extra comment --- commonspace/settings/settingsstate/settingsstate.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/commonspace/settings/settingsstate/settingsstate.go b/commonspace/settings/settingsstate/settingsstate.go index f20463d7..bd010714 100644 --- a/commonspace/settings/settingsstate/settingsstate.go +++ b/commonspace/settings/settingsstate/settingsstate.go @@ -23,8 +23,6 @@ func NewStateFromSnapshot(snapshot *spacesyncproto.SpaceSettingsSnapshot, lastIt } func (s *State) Exists(id string) bool { - // using map here will not give a lot of benefit, because this thing should be called only - // when we are adding content, thus it doesn't matter _, exists := s.DeletedIds[id] return exists }