mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Fix logs
This commit is contained in:
parent
804377c5a4
commit
922aa17df7
1 changed files with 3 additions and 3 deletions
|
@ -102,7 +102,7 @@ extension MessageSender {
|
|||
let groupID = LKGroupUtilities.getEncodedClosedGroupIDAsData(groupPublicKey)
|
||||
let threadID = TSGroupThread.threadId(fromGroupId: groupID)
|
||||
guard let thread = TSGroupThread.fetch(uniqueId: threadID, transaction: transaction) else {
|
||||
SNLog("Can't leave nonexistent closed group.")
|
||||
SNLog("Can't change name for nonexistent closed group.")
|
||||
throw Error.noThread
|
||||
}
|
||||
guard !name.isEmpty else {
|
||||
|
@ -127,7 +127,7 @@ extension MessageSender {
|
|||
let groupID = LKGroupUtilities.getEncodedClosedGroupIDAsData(groupPublicKey)
|
||||
let threadID = TSGroupThread.threadId(fromGroupId: groupID)
|
||||
guard let thread = TSGroupThread.fetch(uniqueId: threadID, transaction: transaction) else {
|
||||
SNLog("Can't leave nonexistent closed group.")
|
||||
SNLog("Can't add members to nonexistent closed group.")
|
||||
throw Error.noThread
|
||||
}
|
||||
guard !newMembers.isEmpty else {
|
||||
|
@ -168,7 +168,7 @@ extension MessageSender {
|
|||
let groupID = LKGroupUtilities.getEncodedClosedGroupIDAsData(groupPublicKey)
|
||||
let threadID = TSGroupThread.threadId(fromGroupId: groupID)
|
||||
guard let thread = TSGroupThread.fetch(uniqueId: threadID, transaction: transaction) else {
|
||||
SNLog("Can't leave nonexistent closed group.")
|
||||
SNLog("Can't remove members from nonexistent closed group.")
|
||||
throw Error.noThread
|
||||
}
|
||||
guard !membersToRemove.isEmpty else {
|
||||
|
|
Loading…
Reference in a new issue