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

[Mastodon] マージTLで1アカウントしかふぁぼに使えない #253

Closed
shibafu528 opened this issue Jul 10, 2019 · 0 comments
Closed
Labels
bug Something isn't working mastodon
Milestone

Comments

@shibafu528
Copy link
Owner

shibafu528 commented Jul 10, 2019

Account A, Account BのHTLで同じトゥートを受信しているとして、マージTLにそのトゥートが入ってくると先に着信したほうのアカウントでしかふぁぼが通らない。

詳細画面ではアカウントスイッチができるので、可能な限りふぁぼれるようにしておかないと不便だと思う。

以下のような感じで試行するとまあまあ上手くいくんじゃないかと思う。

  1. 操作アカウントのドメインと同じドメインであれば、Status.id をそのまま使う
  2. 操作アカウントのドメインが DonStatus.perProviderId に登録されていれば、そこからIDを取り出してAPIコール
  3. (インフラ整備が必要になるが) グローバルに PerProviderId を保持する機構を用意しておいて、そこからIDを取り出す
  4. perProviderIdに登録されていない時は ProviderApi.showStatus で取得を試みる
  5. それでだめならもう無理だ

v3を出すまでにあまり余裕もないので、3は後ででもいいかなと思う。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working mastodon
Projects
None yet
Development

No branches or pull requests

1 participant