Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Pleroma instances #20

Open
ghost opened this issue May 22, 2019 · 3 comments
Open

Support Pleroma instances #20

ghost opened this issue May 22, 2019 · 3 comments

Comments

@ghost
Copy link

ghost commented May 22, 2019

I get this error while trying to use madonctl with a Pleroma instance:

Error: cannot decode API response (GET): json: cannot unmarshal number [...] into Go struct field Account.id of type int64

Could be related to this? https://mastodon.social/@tootapp/101483707041892818

[...] IDs are no longer 64-bit integers.

@McKael
Copy link
Owner

McKael commented Jul 29, 2019

I don't have a Pleroma account to test with, but indeed it is very probably caused by that, Madon expects strings containing u64 values...
I can change it but it will be a non-compatible change and it'll probably break a few things.

Sorry for the delay. I first thought I'd create a Pleroma account somewhere and then I forgot about this issue... 😇

@ghost
Copy link
Author

ghost commented Jul 30, 2019

That would be lovely. Feel free to give me a heads-up and I'll test it.

@rjp
Copy link
Contributor

rjp commented Jan 12, 2023

I've done this but it needs some cleaning up and digging out all the places where it's been assumed that an id == int64. There's actually another required part re: OAuth which I'll file a separate issue and PR for.

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

No branches or pull requests

2 participants