Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not make the placeholder appearing when leaving a room on iPhone #5085

Closed
wants to merge 47 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
bdba1a8
Update defect issue template to improve wording
kittykat Oct 12, 2021
bab09ca
Merge branch 'master' into develop
SBiOSoftWhare Oct 21, 2021
ef7958f
Prepare for new sprint
SBiOSoftWhare Oct 21, 2021
fe98559
vector-im/element-ios/issues/5041 - Fixed share extension and message…
stefanceriu Oct 25, 2021
3580207
Fixes vector-im/element-ios/issues/5042 - Message composer doesn't fo…
stefanceriu Oct 25, 2021
75eddf3
vector-im/element-ios/issues/4384 - Using mutable room list fetch sor…
stefanceriu Oct 25, 2021
8768eb2
Merge pull request #4988 from kittykat/issue-template
pixlwave Oct 26, 2021
efa726b
vector-im/element-ios/issues/4976 - Replaced GrowingTextView with sim…
stefanceriu Oct 26, 2021
7e6e82d
vector-im/element-ios/issues/4976 - Fixed placeholder not displaying …
stefanceriu Oct 27, 2021
04aaec2
Merge pull request #5052 from vector-im/stefan/4976-input-toolbar-tex…
stefanceriu Oct 27, 2021
0ac42bb
Send original data when when the compression prompt is disabled.
pixlwave Oct 28, 2021
8f81292
Re-order UTI types to prevent URLs being sent as text.
pixlwave Oct 28, 2021
0b1e778
Remove image orientation checks.
pixlwave Oct 28, 2021
1ba2abe
RecentsViewController: Prevent retain cycles.
SBiOSoftWhare Oct 28, 2021
03cdf3d
RoomVC: Prevent retain cycles.
SBiOSoftWhare Oct 28, 2021
c1095a6
NavigationRouter: in didPopViewController call run completion after s…
SBiOSoftWhare Oct 28, 2021
24e0713
RoomCoordinator: Fix RoomVC reatin issue.
SBiOSoftWhare Oct 28, 2021
dd5f7d6
TabBarCoordinator: Prevent to update master tab bar controllers when …
SBiOSoftWhare Oct 28, 2021
9e145b9
Add changes
SBiOSoftWhare Oct 28, 2021
3a732b4
Update Riot/Modules/Common/Recents/RecentsViewController.m
SBiOSoftWhare Oct 28, 2021
1c6ae4c
Update Riot/Modules/TabBar/TabBarCoordinator.swift
SBiOSoftWhare Oct 28, 2021
920e8e0
TabBarCoordinator: Fix space switching.
SBiOSoftWhare Oct 28, 2021
9fc412f
RoomVC: Fix typo.
SBiOSoftWhare Oct 28, 2021
cd8a428
Merge pull request #5056 from vector-im/steve/5055_roomvc_retain_cycles
SBiOSoftWhare Oct 28, 2021
ea7983a
GroupsViewController: Prevent retain cycles.
SBiOSoftWhare Oct 29, 2021
1b63507
SegmentedViewController: Prevent retain cycles.
SBiOSoftWhare Oct 29, 2021
4361a59
ContactDetailsViewController: Prevent retain cycles.
SBiOSoftWhare Oct 29, 2021
df472c1
SettingsViewController: Prevent retain cycles.
SBiOSoftWhare Oct 29, 2021
a05c488
Update weak views usage.
SBiOSoftWhare Oct 29, 2021
4d4612e
Send videos as 320p to encrypted rooms.
pixlwave Oct 28, 2021
222db3c
ContactsTableViewController: Prevent retain cycles.
SBiOSoftWhare Oct 29, 2021
f5f44f0
EnterNewRoomDetailsViewController: Prevent retain cycles.
SBiOSoftWhare Oct 29, 2021
b31937b
Update GroupDetailsCoordinator.
SBiOSoftWhare Oct 29, 2021
db4172e
Add changes
SBiOSoftWhare Oct 29, 2021
41eca48
Weakify strong reference delegates.
SBiOSoftWhare Oct 29, 2021
7b44443
RoomInfoListViewController: Weakify self in a closure.
SBiOSoftWhare Oct 29, 2021
d967d35
RoomSearchViewController: Fix setup.
SBiOSoftWhare Oct 29, 2021
e33f077
RoomViewController: Fix a crash on before iOS 14.
SBiOSoftWhare Oct 29, 2021
d0555b5
Merge pull request #5059 from vector-im/doug/4815_share_extension_prompt
pixlwave Oct 29, 2021
baef854
Fix avatars and hide spaces in Share Extension.
pixlwave Oct 29, 2021
b362b4c
TabBarCoordinator: Improve tab bar controllers management. Avoid to h…
SBiOSoftWhare Oct 29, 2021
22d48c7
Update Riot/Modules/Room/RoomInfo/RoomInfoCoordinator.swift
SBiOSoftWhare Oct 29, 2021
88d46cd
Merge pull request #5061 from vector-im/steve/5058_fix_retain_cycles
SBiOSoftWhare Oct 29, 2021
37adc8a
Fixes vector-im/element-ios/issues/5063 - Fixed retain cycles between…
stefanceriu Oct 29, 2021
8a5e6ad
SplitViewCoordinator: Fix detail screen reset behaviour.
SBiOSoftWhare Nov 3, 2021
d1a4317
Update changes
SBiOSoftWhare Nov 3, 2021
29b0507
Fix typo
SBiOSoftWhare Nov 3, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ body:
- type: dropdown
id: rageshake
attributes:
label: Have you submitted a rageshake?
label: Will you send logs?
description: |
Did you know that you can shake your phone to submit logs for this issue? Trigger the defect, then shake your phone and you will see a popup asking if you would like to open the bug report screen. Click YES, and describe the issue, mentioning that you have also filed a bug. Submit the report to send anonymous logs to the developers.
Did you know that you can shake your phone to submit logs for this issue? Trigger the defect, then shake your phone and you will see a popup asking if you would like to open the bug report screen. Click YES, and describe the issue, mentioning that you have also filed a bug (it's helpful if you can include a link to the bug). Send the report to submit anonymous logs to the developers.
options:
- 'Yes'
- 'No'
Expand Down
4 changes: 2 additions & 2 deletions Config/AppVersion.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
//

// Version
MARKETING_VERSION = 1.6.6
CURRENT_PROJECT_VERSION = 1.6.6
MARKETING_VERSION = 1.6.7
CURRENT_PROJECT_VERSION = 1.6.7
1 change: 0 additions & 1 deletion Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ abstract_target 'RiotPods' do
pod 'SideMenu', '~> 6.5'
pod 'DSWaveformImage', '~> 6.1.1'
pod 'ffmpeg-kit-ios-audio', '~> 4.5'
pod 'GrowingTextView', '~> 0.7.2'

pod 'FLEX', '~> 4.5.0', :configurations => ['Debug']

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"template-rendering-intent" : "template"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"template-rendering-intent" : "template"
}
}
3 changes: 3 additions & 0 deletions Riot/Assets/en.lproj/Vector.strings
Original file line number Diff line number Diff line change
Expand Up @@ -1016,6 +1016,9 @@ Tap the + to start adding people.";
// Share extension
"share_extension_auth_prompt" = "Login in the main app to share content";
"share_extension_failed_to_encrypt" = "Failed to send. Check in the main app the encryption settings for this room";
"share_extension_low_quality_video_title" = "Video will be sent in low quality";
"share_extension_low_quality_video_message" = "Send in %@ for better quality, or send in low quality below.";
"share_extension_send_now" = "Send now";

// Room key request dialog
"e2e_room_key_request_title" = "Encryption key request";
Expand Down
12 changes: 12 additions & 0 deletions Riot/Generated/Strings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4775,6 +4775,18 @@ public class VectorL10n: NSObject {
public static var shareExtensionFailedToEncrypt: String {
return VectorL10n.tr("Vector", "share_extension_failed_to_encrypt")
}
/// Send in %@ for better quality, or send in low quality below.
public static func shareExtensionLowQualityVideoMessage(_ p1: String) -> String {
return VectorL10n.tr("Vector", "share_extension_low_quality_video_message", p1)
}
/// Video will be sent in low quality
public static var shareExtensionLowQualityVideoTitle: String {
return VectorL10n.tr("Vector", "share_extension_low_quality_video_title")
}
/// Send now
public static var shareExtensionSendNow: String {
return VectorL10n.tr("Vector", "share_extension_send_now")
}
/// Feedback
public static var sideMenuActionFeedback: String {
return VectorL10n.tr("Vector", "side_menu_action_feedback")
Expand Down
2 changes: 1 addition & 1 deletion Riot/Managers/Analytics/DecryptionFailureTracker.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
/**
The delegate object to receive analytics events.
*/
@property (nonatomic) id<MXAnalyticsDelegate> delegate;
@property (nonatomic, weak) id<MXAnalyticsDelegate> delegate;

/**
Report an event unable to decrypt.
Expand Down
2 changes: 1 addition & 1 deletion Riot/Modules/Application/AppCoordinator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ extension AppCoordinator: LegacyAppDelegateDelegate {
}

func legacyAppDelegateRestoreEmptyDetailsViewController(_ legacyAppDelegate: LegacyAppDelegate!) {
self.splitViewCoordinator?.restorePlaceholderDetails()
self.splitViewCoordinator?.resetDetails(animated: false)
}

func legacyAppDelegate(_ legacyAppDelegate: LegacyAppDelegate!, didAddMatrixSession session: MXSession!) {
Expand Down
2 changes: 1 addition & 1 deletion Riot/Modules/Common/Recents/RecentsViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ FOUNDATION_EXPORT NSString *const RecentsViewControllerDataReadyNotification;
/**
Current alert (if any).
*/
UIAlertController *currentAlert;
__weak UIAlertController *currentAlert;

/**
The list of the section headers currently displayed in the recents table.
Expand Down
22 changes: 17 additions & 5 deletions Riot/Modules/Common/Recents/RecentsViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ @interface RecentsViewController () <CreateRoomCoordinatorBridgePresenterDelegat
NSIndexPath* lastPotentialCellPath;

// Observe UIApplicationDidEnterBackgroundNotification to cancel editing mode when app leaves the foreground state.
id UIApplicationDidEnterBackgroundNotificationObserver;
__weak id UIApplicationDidEnterBackgroundNotificationObserver;

// Observe kAppDelegateDidTapStatusBarNotification to handle tap on clock status bar.
id kAppDelegateDidTapStatusBarNotificationObserver;
__weak id kAppDelegateDidTapStatusBarNotificationObserver;

// Observe kMXNotificationCenterDidUpdateRules to update missed messages counts.
id kMXNotificationCenterDidUpdateRulesObserver;
__weak id kMXNotificationCenterDidUpdateRulesObserver;

MXHTTPOperation *currentRequest;

Expand All @@ -65,7 +65,7 @@ @interface RecentsViewController () <CreateRoomCoordinatorBridgePresenterDelegat
UISearchBar *tableSearchBar;

// Observe kThemeServiceDidChangeThemeNotification to handle user interface theme change.
id kThemeServiceDidChangeThemeNotificationObserver;
__weak id kThemeServiceDidChangeThemeNotificationObserver;
}

@property (nonatomic, strong) CreateRoomCoordinatorBridgePresenter *createRoomCoordinatorBridgePresenter;
Expand Down Expand Up @@ -156,11 +156,15 @@ - (void)viewDidLoad
// Apply dragging settings
self.enableDragging = _enableDragging;

MXWeakify(self);

// Observe UIApplicationDidEnterBackgroundNotification to refresh bubbles when app leaves the foreground state.
UIApplicationDidEnterBackgroundNotificationObserver = [[NSNotificationCenter defaultCenter] addObserverForName:UIApplicationDidEnterBackgroundNotification object:nil queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *notif) {

MXStrongifyAndReturnIfNil(self);

// Leave potential editing mode
[self cancelEditionMode:isRefreshPending];
[self cancelEditionMode:self->isRefreshPending];

}];

Expand All @@ -170,6 +174,8 @@ - (void)viewDidLoad
// Observe user interface theme change.
kThemeServiceDidChangeThemeNotificationObserver = [[NSNotificationCenter defaultCenter] addObserverForName:kThemeServiceDidChangeThemeNotification object:nil queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *notif) {

MXStrongifyAndReturnIfNil(self);

[self userInterfaceThemeDidChange];

}];
Expand Down Expand Up @@ -268,16 +274,22 @@ - (void)viewWillAppear:(BOOL)animated
[self.recentsTableView deselectRowAtIndexPath:indexPath animated:NO];
}

MXWeakify(self);

// Observe kAppDelegateDidTapStatusBarNotificationObserver.
kAppDelegateDidTapStatusBarNotificationObserver = [[NSNotificationCenter defaultCenter] addObserverForName:kAppDelegateDidTapStatusBarNotification object:nil queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *notif) {

MXStrongifyAndReturnIfNil(self);

[self scrollToTop:YES];

}];

// Observe kMXNotificationCenterDidUpdateRules to refresh missed messages counts
kMXNotificationCenterDidUpdateRulesObserver = [[NSNotificationCenter defaultCenter] addObserverForName:kMXNotificationCenterDidUpdateRules object:nil queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *note) {

MXStrongifyAndReturnIfNil(self);

[self refreshRecentsTable];

}];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ public class RecentsListService: NSObject, RecentsListServiceProtocol {
case .home:
fetcher.fetchOptions.sortOptions = sortOptions
case .favourites:
let newSortOptions = sortOptions
var newSortOptions = sortOptions
newSortOptions.favoriteTag = true
fetcher.fetchOptions.sortOptions = newSortOptions
default:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ @interface SegmentedViewController ()
NSLayoutConstraint *leftMarkerViewConstraint;

// Observe kThemeServiceDidChangeThemeNotification to handle user interface theme change.
id kThemeServiceDidChangeThemeNotificationObserver;
__weak id kThemeServiceDidChangeThemeNotificationObserver;
}

@end
Expand Down Expand Up @@ -183,9 +183,13 @@ - (void)viewDidLoad

[self createSegmentedViews];

MXWeakify(self);

// Observe user interface theme change.
kThemeServiceDidChangeThemeNotificationObserver = [[NSNotificationCenter defaultCenter] addObserverForName:kThemeServiceDidChangeThemeNotification object:nil queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *notif) {

MXStrongifyAndReturnIfNil(self);

[self userInterfaceThemeDidChange];

}];
Expand Down
18 changes: 14 additions & 4 deletions Riot/Modules/Communities/GroupsViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ @interface GroupsViewController ()
BOOL isRefreshPending;

// Observe UIApplicationDidEnterBackgroundNotification to cancel editing mode when app leaves the foreground state.
id UIApplicationDidEnterBackgroundNotificationObserver;
__weak id UIApplicationDidEnterBackgroundNotificationObserver;

// Observe kAppDelegateDidTapStatusBarNotification to handle tap on clock status bar.
id kAppDelegateDidTapStatusBarNotificationObserver;
__weak id kAppDelegateDidTapStatusBarNotificationObserver;

MXHTTPOperation *currentRequest;

Expand All @@ -39,7 +39,7 @@ @interface GroupsViewController ()
UISearchBar *tableSearchBar;

// Observe kThemeServiceDidChangeThemeNotification to handle user interface theme change.
id kThemeServiceDidChangeThemeNotificationObserver;
__weak id kThemeServiceDidChangeThemeNotificationObserver;
}

@end
Expand Down Expand Up @@ -98,11 +98,15 @@ - (void)viewDidLoad
self.groupsTableView.estimatedSectionHeaderHeight = 30;
self.groupsTableView.estimatedSectionFooterHeight = 0;

MXWeakify(self);

// Observe UIApplicationDidEnterBackgroundNotification to refresh bubbles when app leaves the foreground state.
UIApplicationDidEnterBackgroundNotificationObserver = [[NSNotificationCenter defaultCenter] addObserverForName:UIApplicationDidEnterBackgroundNotification object:nil queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *notif) {

MXStrongifyAndReturnIfNil(self);

// Leave potential editing mode
[self cancelEditionMode:isRefreshPending];
[self cancelEditionMode:self->isRefreshPending];

}];

Expand All @@ -117,6 +121,8 @@ - (void)viewDidLoad
// Observe user interface theme change.
kThemeServiceDidChangeThemeNotificationObserver = [[NSNotificationCenter defaultCenter] addObserverForName:kThemeServiceDidChangeThemeNotification object:nil queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *notif) {

MXStrongifyAndReturnIfNil(self);

[self userInterfaceThemeDidChange];

}];
Expand Down Expand Up @@ -207,9 +213,13 @@ - (void)viewWillAppear:(BOOL)animated
[self.groupsTableView deselectRowAtIndexPath:indexPath animated:NO];
}

MXWeakify(self);

// Observe kAppDelegateDidTapStatusBarNotificationObserver.
kAppDelegateDidTapStatusBarNotificationObserver = [[NSNotificationCenter defaultCenter] addObserverForName:kAppDelegateDidTapStatusBarNotification object:nil queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *notif) {

MXStrongifyAndReturnIfNil(self);

[self scrollToTop:YES];

}];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ final class GroupDetailsCoordinator: GroupDetailsCoordinatorProtocol {
self.groupDetailsViewController = groupDetailsViewController
}

deinit {
groupDetailsViewController.destroy()
}

// MARK: - Public

func start() {
Expand Down
2 changes: 1 addition & 1 deletion Riot/Modules/Contacts/ContactsTableViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
/**
The delegate for the view controller.
*/
@property (nonatomic) id<ContactsTableViewControllerDelegate> contactsTableViewControllerDelegate;
@property (nonatomic, weak) id<ContactsTableViewControllerDelegate> contactsTableViewControllerDelegate;

@end

12 changes: 10 additions & 2 deletions Riot/Modules/Contacts/ContactsTableViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ @interface ContactsTableViewController () <FindYourContactsFooterViewDelegate, S
/**
Observe kAppDelegateDidTapStatusBarNotification to handle tap on clock status bar.
*/
id kAppDelegateDidTapStatusBarNotificationObserver;
__weak id kAppDelegateDidTapStatusBarNotificationObserver;

/**
Observe kThemeServiceDidChangeThemeNotification to handle user interface theme change.
*/
id kThemeServiceDidChangeThemeNotificationObserver;
__weak id kThemeServiceDidChangeThemeNotificationObserver;
}

@property (nonatomic, strong) FindYourContactsFooterView *findYourContactsFooterView;
Expand Down Expand Up @@ -102,9 +102,13 @@ - (void)viewDidLoad
self.contactsTableView.tableFooterView = [[UIView alloc] init];
self.contactsAreFilteredWithSearch = NO;

MXWeakify(self);

// Observe user interface theme change.
kThemeServiceDidChangeThemeNotificationObserver = [[NSNotificationCenter defaultCenter] addObserverForName:kThemeServiceDidChangeThemeNotification object:nil queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *notif) {

MXStrongifyAndReturnIfNil(self);

[self userInterfaceThemeDidChange];

}];
Expand Down Expand Up @@ -158,10 +162,14 @@ - (void)viewWillAppear:(BOOL)animated

// Screen tracking
[[Analytics sharedInstance] trackScreen:_screenName];

MXWeakify(self);

// Observe kAppDelegateDidTapStatusBarNotification.
kAppDelegateDidTapStatusBarNotificationObserver = [[NSNotificationCenter defaultCenter] addObserverForName:kAppDelegateDidTapStatusBarNotification object:nil queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *notif) {

MXStrongifyAndReturnIfNil(self);

[self.contactsTableView setContentOffset:CGPointMake(-self.contactsTableView.adjustedContentInset.left, -self.contactsTableView.adjustedContentInset.top) animated:YES];

}];
Expand Down
14 changes: 11 additions & 3 deletions Riot/Modules/Contacts/Details/ContactDetailsViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ @interface ContactDetailsViewController () <RoomMemberTitleViewDelegate>
/**
Observe UIApplicationWillChangeStatusBarOrientationNotification to hide/show bubbles bg.
*/
id UIApplicationWillChangeStatusBarOrientationNotificationObserver;
__weak id UIApplicationWillChangeStatusBarOrientationNotificationObserver;

/**
The observer of the presence for matrix user.
*/
id mxPresenceObserver;
__weak id mxPresenceObserver;

/**
List of the basic actions on this contact.
Expand All @@ -79,7 +79,7 @@ Current alert (if any).
/**
Observe kThemeServiceDidChangeThemeNotification to handle user interface theme change.
*/
id kThemeServiceDidChangeThemeNotificationObserver;
__weak id kThemeServiceDidChangeThemeNotificationObserver;

/**
The current visibility of the status bar in this view controller.
Expand Down Expand Up @@ -182,9 +182,13 @@ - (void)viewDidLoad
self.bottomImageView.hidden = (orientation.integerValue == UIInterfaceOrientationLandscapeLeft || orientation.integerValue == UIInterfaceOrientationLandscapeRight);
}];

MXWeakify(self);

// Observe user interface theme change.
kThemeServiceDidChangeThemeNotificationObserver = [[NSNotificationCenter defaultCenter] addObserverForName:kThemeServiceDidChangeThemeNotification object:nil queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *notif) {

MXStrongifyAndReturnIfNil(self);

[self userInterfaceThemeDidChange];

}];
Expand Down Expand Up @@ -379,9 +383,13 @@ - (void)registerOnContactChangeNotifications
// Be warned when the thumbnail is updated
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(onThumbnailUpdate:) name:kMXKContactThumbnailUpdateNotification object:nil];

MXWeakify(self);

// Observe contact presence change
mxPresenceObserver = [[NSNotificationCenter defaultCenter] addObserverForName:kMXKContactManagerMatrixUserPresenceChangeNotification object:nil queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *notif) {

MXStrongifyAndReturnIfNil(self);

NSString* matrixId = self.firstMatrixId;

if (matrixId && [matrixId isEqualToString:notif.object])
Expand Down
Loading