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

Swap Bridge.mastodon_account_id from BigInteger to String to support Pleroma #155

Open
ibeckermayer opened this issue Jan 31, 2021 · 0 comments

Comments

@ibeckermayer
Copy link

I was attempting to use moa.party to connect my Twitter with a Pleroma account, and was being flashed "Your server isn't supported by moa." I hunted this down in the codebase, and it looks like it's being thrown after bridge.mastodon_account_id = int(account_id) fails in mastodon_oauthorized().

I've examined both my Mastodon and Pleroma databases, and it appears that the incompatibility arises from the fact that Pleroma uses string UUIDs for account id's whereas Mastodon uses integers. I believe that if you simply flipped mastodon_last_id = Column(BigInteger, default=0) and mastodon_account_id = Column(BigInteger, default=0) to type String(30), you could support Pleroma (which afaik implements the Mastodon api).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant