simon-git: mastodonochrome (main): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Tue Feb 6 18:11:22 GMT 2024


TL;DR:
  baf01e2 Make FeedExtend::Past handle termination properly.

Repository:     https://git.tartarus.org/simon/mastodonochrome.git
On the web:     https://git.tartarus.org/?p=simon/mastodonochrome.git
Branch updated: main
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2024-02-06 18:11:22

commit baf01e2bec8112180922af67e7728890f866f931
web diff https://git.tartarus.org/?p=simon/mastodonochrome.git;a=commitdiff;h=baf01e2bec8112180922af67e7728890f866f931;hp=dcbcb9aee2ea95779df9151408455fc0b82c8dde
Author: Simon Tatham <anakin at pobox.com>
Date:   Tue Feb 6 18:09:42 2024 +0000

    Make FeedExtend::Past handle termination properly.
    
    I noticed today that when a feed could no longer be extended into the
    past, we were failing to notice that, and instead prepending another
    copy of the last batch of stuff to it each time [0] was pressed.
    
    Testing with --loghttp, that's because we forgot to _throw away_ the
    "next" link after using it, so that when the server didn't send us a
    replacement one, we just kept reusing the previous one.

 src/client.rs | 14 ++++++++++++++
 1 file changed, 14 insertions(+)



More information about the tartarus-commits mailing list