Description
As the user scrolls through the message list, we fetch a new batch of messages before they reach the end of the loaded history. If the user has a good network connection this is an amazing experience given they can continuously fling through history.
Currently we have a static value for the threshold at which we load extra messages (see kFetchMessagesBufferPixels
in lib/widgets/message_list.dart
) which currently evaluates to 4000. When it was first introduced in bccaead messages always had a recipient header attached, and since then not only are messages more compact (moreso due to work towards #157 ) but messages are grouped together by recipient header. A simple static value by itself is no longer sufficient, and we should probably dynamically adjust this value or change what we rely on to fetch new messages.
Metadata
Metadata
Assignees
Type
Projects
Status