Stopped working with Milktea #351
Loading…
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?
A while ago I noticed that Milktea seemed kind of broken with my instance. Most notably, I couldn't use custom emojis anywhere, and if I opened a note its parent notes and replies wouldn't show up.
My phone broke and I tried to set Milktea up on a new phone, but I can't even add my account there. Tapping the "Authenticate" button briefly shows the loading inidcator and then nothing happens.
Unfortunately, I'm not sure how to provide debugging info. Milktea doesn't expose such a feature, and the Foundkey log doesn't show any errors.
My current guess is that Milktea checks the Nodeinfo and
"foundkey"
is not one of its recognized types:9d4807bc9f/modules/model/src/main/java/net/pantasystem/milktea/model/nodeinfo/NodeInfo.kt (L56-L63)
From looking at that files history it seems that Milktea started using nodeinfo only in January 2023, which would explain why it broke now.
Some cursing, downloading Milktea and console.log debugging on my instance later: If what I said above is not the issue, it will definitely be stopped by this: Milktea requests the permissions
"read:gallery", "write:gallery", "read:gallery-likes", "write:gallery-likes"
from/api/app/create
. But because we removed galleries, those permissions do not exist and thus the API validation returns a 400 error.Closing this issue since it turned out this is not a problem with Foundkey.