diff options
author | Brion Vibber <brion@pobox.com> | 2010-02-04 14:50:20 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-02-04 15:15:42 -0800 |
commit | bb16898b1c73073e0442de72f2af133a3bd39713 (patch) | |
tree | c9079487b6ee4c79dcefeeaa05a03c016417b970 /classes/Session.php | |
parent | 37f3a3d558ba55a085c9ee5427948b572c197bc3 (diff) |
Inbox::streamNotices() with deletion compensation: inbox paging should more or less work with deleted items now.
No change in efficiency for the common case where nothing's deleted: does the same bulk fetch of just the notices we think we'll need as before, then if we turned up short keeps checking one by one until we've filled up to our $limit.
This can leave us with overlap between pages, but we already have that when new messages come in between clicks; seems to be the lesser of evils versus not getting a 'before' button.
More permanent fix for that will be to switch timeline paging in the UI to use notice IDs.
Diffstat (limited to 'classes/Session.php')
0 files changed, 0 insertions, 0 deletions