DM timeline omits most received DMs #798
Labels
No labels
approved, awaiting change
broken setup
bug
cannot reproduce
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs change/feedback
needs docs
needs tests
not a bug
not our bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AkkomaGang/akkoma#798
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Your setup
From source
Extra details
Fedora 40
Version
develop (
d1c4b97613) + #796PostgreSQL version
don’t know
What’s wrong?
The DM timeline (akkoma-fe:
users/<your_nick>/dms; backend:/api/v1/timelines/direct?with_muted=false) shows all sent DMs, but only rarely, with no discernable pattern, includes received DMs.It’s supposed to contain both and for messages created before 2024-03-01 this seems to be the case. At least as of 2024-03-11 most received DMs are missing though. The instance frequently updates to latests develop although not always immediately. Something appears to have changed in how direct messages are stored just before the security patches of 2024.03 got merged.
Some received DMs which show up in the backend response, do not appear in the fronted; there might be an additional fe bug, but many DMs are already missing in the backend response.
Note: Mastodon deprecated this timeline in favour of a new conversations API. We do actually implement this already, but aparently the frontend doesn’t use them yet. Still, it prob shouldn’t omit half the messages.
Looking at those “conversations” received DMs appear correclty as the
last_statuswhere expected. Afaict there’s no way to directly query a whole conversation, i’m guessing the intended usage is to just fetch the last status and all its parents which should work normally (don’t know if/how conversations are split if different subthreads emerge).jqfilters to make backend reponses easier to read:Logs
No response
Severity
I can manage
Have you searched for this issue?
It may not have been a change in Akkoma’s code, but something to do with the instance. On a different much smaller and younger instance both kinds of posts continued to show up much later, while it kept being bugged for the instance i originally reported this for.
Even more, on the original instance results became unstable. That is, requering the endpoint with the same parameters may sometimes drop or add a few posts (all of which should always appear in the TL). Not sure when that started though and no firm idea of why it happened.
Either way, this timeline is bout to be removed for good so this won’t be relevant anymore.