|
@@ -96,7 +96,8 @@ class NewChatViewController: UITableViewController {
|
|
forName: dcNotificationSecureJoinerProgress,
|
|
forName: dcNotificationSecureJoinerProgress,
|
|
object: nil,
|
|
object: nil,
|
|
queue: nil
|
|
queue: nil
|
|
- ) { notification in
|
|
|
|
|
|
+ ) { [weak self] notification in
|
|
|
|
+ guard let self = self else { return }
|
|
if let ui = notification.userInfo {
|
|
if let ui = notification.userInfo {
|
|
if ui["error"] as? Bool ?? false {
|
|
if ui["error"] as? Bool ?? false {
|
|
self.hud?.error(ui["errorMessage"] as? String)
|
|
self.hud?.error(ui["errorMessage"] as? String)
|