Resolve groups v2-related TODOs.
This commit is contained in:
parent
8749581ce7
commit
adec197edb
@ -1600,6 +1600,7 @@ NSString *const kArchiveButtonPseudoGroup = @"kArchiveButtonPseudoGroup";
|
||||
[self.conversationSplitViewController closeSelectedConversationAnimated:YES];
|
||||
}
|
||||
|
||||
// GroupsV2 TODO: Should we leave v2 groups here?
|
||||
[self.databaseStorage writeWithBlock:^(SDSAnyWriteTransaction *transaction) {
|
||||
if ([thread isKindOfClass:[TSGroupThread class]]) {
|
||||
TSGroupThread *groupThread = (TSGroupThread *)thread;
|
||||
|
||||
@ -292,6 +292,7 @@ public class GroupV2UpdatesImpl: NSObject, GroupV2UpdatesSwift {
|
||||
groupUpdateMode: groupUpdateMode)
|
||||
.recover { (error) throws -> Promise<TSGroupThread> in
|
||||
let shouldTrySnapshot = { () -> Bool in
|
||||
// This should not fail over in the case of networking problems.
|
||||
if IsNetworkConnectivityFailure(error) {
|
||||
Logger.warn("Error: \(error)")
|
||||
return false
|
||||
|
||||
Loading…
Reference in New Issue
Block a user