mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-28 12:16:58 +02:00
Room details: On bunch of incoming live events, scroll up to the last event of this bunch
This commit is contained in:
@@ -398,7 +398,11 @@ NSString *const kCmdResetUserPowerLevel = @"/deop";
|
||||
}
|
||||
|
||||
if (shouldScrollToBottom) {
|
||||
[self scrollToBottomAnimated:YES];
|
||||
// Delay the scrolling.
|
||||
// If there is a bunch of incoming events, scroll once for all of them
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[self scrollToBottomAnimated:YES];
|
||||
});
|
||||
}
|
||||
}];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user