Open & reply to thread only if threads enabled

This commit is contained in:
ismailgulek
2022-03-08 17:09:29 +03:00
parent 3a4d1d62dd
commit 49683e11d3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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];
}