mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Merge pull request #112 from RyanRory/fix-input-issue
Fix Disabled Input Bar on Closed Group Creation
This commit is contained in:
commit
7dcd2f2353
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue