From 395a4c0fbacf0d422cf732e0add81a093de17206 Mon Sep 17 00:00:00 2001 From: Nathan Mattes Date: Fri, 24 May 2024 21:58:15 +0200 Subject: [PATCH] Inform everyone that the account got updated (IOS-277) --- Mastodon/Scene/Profile/ProfileViewModel.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Mastodon/Scene/Profile/ProfileViewModel.swift b/Mastodon/Scene/Profile/ProfileViewModel.swift index 388a733bf..29caffcc1 100644 --- a/Mastodon/Scene/Profile/ProfileViewModel.swift +++ b/Mastodon/Scene/Profile/ProfileViewModel.swift @@ -234,6 +234,7 @@ extension ProfileViewModel { ) FileManager.default.store(account: response.value, forUserID: authenticationBox.authentication.userIdentifier()) + NotificationCenter.default.post(name: .userFetched, object: nil) return response }