Merge pull request #6677 from vector-im/gil/6676-Reset_allChatsOnboardingHasBeenDisplayed_on_logout

Reset allChatsOnboardingHasBeenDisplayed on logout
This commit is contained in:
Gil Eluard
2022-09-06 08:53:52 +02:00
committed by GitHub
2 changed files with 4 additions and 0 deletions
@@ -2196,6 +2196,9 @@ NSString *const AppDelegateUniversalLinkDidChangeNotification = @"AppDelegateUni
// Logout all matrix account
[[MXKAccountManager sharedManager] logoutWithCompletion:^{
// We reset allChatsOnboardingHasBeenDisplayed flag on logout
RiotSettings.shared.allChatsOnboardingHasBeenDisplayed = NO;
if (completion)
{
completion (YES);
+1
View File
@@ -0,0 +1 @@
Reset allChatsOnboardingHasBeenDisplayed on logout