Fixed a build error caused from merging

pull/1058/head
Morgan Pretty 5 months ago
parent c6365e597d
commit 2a6c06423a

@ -169,21 +169,19 @@ extension MessageReceiver {
/// **Note:** This **MUST** happen before we call `SessionThread.upsert` as we won't add the group /// **Note:** This **MUST** happen before we call `SessionThread.upsert` as we won't add the group
/// if it already exists in `libSession` and upserting the thread results in an update to `libSession` to set /// if it already exists in `libSession` and upserting the thread results in an update to `libSession` to set
/// the `priority` /// the `priority`
if configTriggeringChange == nil { try? LibSession.add(
try? LibSession.add( db,
db, groupPublicKey: groupPublicKey,
groupPublicKey: groupPublicKey, name: name,
name: name, joinedAt: (TimeInterval(formationTimestampMs) / 1000),
joinedAt: (TimeInterval(formationTimestampMs) / 1000), latestKeyPairPublicKey: Data(encryptionKeyPair.publicKey),
latestKeyPairPublicKey: Data(encryptionKeyPair.publicKey), latestKeyPairSecretKey: Data(encryptionKeyPair.secretKey),
latestKeyPairSecretKey: Data(encryptionKeyPair.secretKey), latestKeyPairReceivedTimestamp: receivedTimestamp,
latestKeyPairReceivedTimestamp: receivedTimestamp, disappearingConfig: disappearingConfig,
disappearingConfig: disappearingConfig, members: members.asSet(),
members: members.asSet(), admins: admins.asSet(),
admins: admins.asSet(), using: dependencies
using: dependencies )
)
}
// Create the group // Create the group
let thread: SessionThread = try SessionThread.upsert( let thread: SessionThread = try SessionThread.upsert(

Loading…
Cancel
Save