Change order of capturing weakSelf in alert's action handler
MODIFY
MatrixKit/Controllers/MXKCallViewController.m
MatrixKit/Controllers/MXKCallViewController.m
@@ -628,9 +628,9 @@ NSString *const kMXKCallViewControllerBackToAppNotification = @"kMXKCallViewCont
style:UIAlertActionStyleDefault
handler:^(UIAlertAction * action) {
- if (weakSelf)
- {
typeof(self) self = weakSelf;
+ if (self)
+ {
self->errorAlert = nil;
[self dismiss];

Change order of capturing weakSelf in alert's action handler