Merge pull request #112 from RyanRory/fix-input-issue

Fix Disabled Input Bar on Closed Group Creation
pull/117/head
gmbnt 5 years ago committed by GitHub
commit 7dcd2f2353
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -180,15 +180,15 @@ final class NewClosedGroupVC : UIViewController, UITableViewDataSource, UITableV
DispatchQueue.main.async {
SSKEnvironment.shared.messageSender.send(message, success: {
DispatchQueue.main.async {
SignalApp.shared().presentConversation(for: thread, action: .compose, animated: false)
self?.presentingViewController?.dismiss(animated: true, completion: nil)
SignalApp.shared().presentConversation(for: thread, action: .compose, animated: false)
}
}, failure: { error in
let message = TSErrorMessage(timestamp: NSDate.ows_millisecondTimeStamp(), in: thread, failedMessageType: .groupCreationFailed)
message.save()
DispatchQueue.main.async {
SignalApp.shared().presentConversation(for: thread, action: .compose, animated: false)
self?.presentingViewController?.dismiss(animated: true, completion: nil)
SignalApp.shared().presentConversation(for: thread, action: .compose, animated: false)
}
})
}

Loading…
Cancel
Save