mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-06 07:57:42 +02:00
Merge pull request #1758 from vector-im/meta_118
Groups: Display flair for users in room history.
This commit is contained in:
+8
-1
@@ -558,6 +558,8 @@ NSString *const kAppDelegateNetworkStatusDidChangeNotification = @"kAppDelegateN
|
||||
{
|
||||
NSLog(@"[AppDelegate] applicationWillEnterForeground");
|
||||
|
||||
// Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
|
||||
|
||||
// Flush all the pending push notifications.
|
||||
for (NSMutableArray *array in self.incomingPushEventIds.allValues)
|
||||
{
|
||||
@@ -565,7 +567,12 @@ NSString *const kAppDelegateNetworkStatusDidChangeNotification = @"kAppDelegateN
|
||||
}
|
||||
[incomingPushPayloads removeAllObjects];
|
||||
|
||||
// Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
|
||||
// Force each session to refresh here their publicised groups by user dictionary.
|
||||
// When these publicised groups are retrieved for a user, they are cached and reused until the app is backgrounded and enters in the foreground again
|
||||
for (MXSession *session in mxSessionArray)
|
||||
{
|
||||
[session markOutdatedPublicisedGroupsByUserData];
|
||||
}
|
||||
|
||||
_isAppForeground = YES;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user