mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-08 05:57:03 +09:00
Filter keyValue from stored ids
This commit is contained in:
parent
4054a914a7
commit
d2ea2ba75d
1 changed files with 2 additions and 1 deletions
|
@ -120,8 +120,9 @@ func (h *headSync) AllIds() []string {
|
|||
func (h *headSync) ExternalIds() []string {
|
||||
settingsId := h.storage.StateStorage().SettingsId()
|
||||
aclId := h.syncAcl.Id()
|
||||
keyValueId := h.keyValue.DefaultStore().Id()
|
||||
return slice.DiscardFromSlice(h.AllIds(), func(id string) bool {
|
||||
return id == settingsId || id == aclId
|
||||
return id == settingsId || id == aclId || id == keyValueId
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue