Skip to content

Fix LocalHistoryService::list_targets to take the latest timestamp of each target#163

Merged
spb merged 2 commits intoLibera-Chat:masterfrom
progval:list_targets
Jun 21, 2025
Merged

Fix LocalHistoryService::list_targets to take the latest timestamp of each target#163
spb merged 2 commits intoLibera-Chat:masterfrom
progval:list_targets

Conversation

@progval
Copy link
Collaborator

@progval progval commented Jun 21, 2025

#159 meant to sort by ascending timestamp before limiting, but by doing so it also changed the behavior to consider the earliest timestamp of each target instead of the latest.

This fixes this behavior, at the cost of adding an explicit sorting step.

Fixes #162

…amp of each target

ebc5a36 meant to sort by ascending timestamp
before limiting, but by doing so it also changed the behavior to consider the
earliest timestamp of each target instead of the latest.

This fixes this behavior, at the cost of adding an explicit sorting step.
@progval progval changed the title Fix LocalHistoryService::list_targets to match take the latest timestamp of each target Fix LocalHistoryService::list_targets to take the latest timestamp of each target Jun 21, 2025
@spb spb merged commit 85d8591 into Libera-Chat:master Jun 21, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TARGETS selection semantics are buggy

2 participants