Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

317 B
Raw Blame
import Foundation

struct ChatSourceSelection: Sendable {
    var selectedPackIDs: Set<String> = []
    var selectedCollectionIDs: Set<String> = []

    func includesPack(_ id: String) -> Bool { selectedPackIDs.contains(id) }
    func includesCollection(_ id: String) -> Bool { selectedCollectionIDs.contains(id) }
}