|
|
@ -169,7 +169,6 @@ 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,
|
|
|
@ -183,7 +182,6 @@ extension MessageReceiver {
|
|
|
|
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(
|
|
|
|