mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-17 23:18:27 +02:00
Open & reply to thread only if threads enabled
This commit is contained in:
@@ -484,7 +484,7 @@ Matrix session observer used to detect new opened sessions.
|
||||
// initialize data source for a thread or a room
|
||||
__block MXKRoomDataSource *dataSource;
|
||||
dispatch_group_t dispatchGroupDataSource = dispatch_group_create();
|
||||
if (threadId)
|
||||
if (RiotSettings.shared.enableThreads && threadId)
|
||||
{
|
||||
dispatch_group_enter(dispatchGroupDataSource);
|
||||
[ThreadDataSource loadRoomDataSourceWithRoomId:roomId
|
||||
|
||||
@@ -2993,7 +2993,7 @@ NSString *const AppDelegateUniversalLinkDidChangeNotification = @"AppDelegateUni
|
||||
ScreenPresentationParameters *presentationParameters = [[ScreenPresentationParameters alloc] initWithRestoreInitialDisplay:YES];
|
||||
|
||||
ThreadParameters *threadParameters = nil;
|
||||
if (threadId)
|
||||
if (RiotSettings.shared.enableThreads && threadId)
|
||||
{
|
||||
threadParameters = [[ThreadParameters alloc] initWithThreadId:threadId stackRoomScreen:NO];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user