You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-ios/SessionMessagingKit/SessionUtil/Config Handling/SessionUtil+GroupKeys.swift

30 lines
725 B
Swift

// Copyright © 2023 Rangeproof Pty Ltd. All rights reserved.
import Foundation
import GRDB
import SessionUtil
import SessionUtilitiesKit
// MARK: - Group Info Handling
internal extension SessionUtil {
static let columnsRelatedToGroupKeys: [ColumnExpression] = []
// MARK: - Incoming Changes
static func handleGroupKeysUpdate(
_ db: Database,
in config: Config?,
latestConfigSentTimestampMs: Int64,
using dependencies: Dependencies
) throws {
guard config.needsDump else { return }
guard case .groupKeys(let conf) = config else { throw SessionUtilError.invalidConfigObject }
}
}
// MARK: - Outgoing Changes
internal extension SessionUtil {
}