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

同じアカウントが投稿日時が秒単位で同じ投稿を複数回行うと取りこぼしが発生する #76

Open
hanubeki opened this issue Sep 7, 2024 · 2 comments

Comments

@hanubeki
Copy link

hanubeki commented Sep 7, 2024

同じアカウントが投稿日時が秒単位で同じ投稿を複数行うと、Mistdonで投稿の取りこぼしが発生します。

Current Version: 1.4.1 (2024/08/24)
サーバー: Mastodon (fedibird.com)
タイムライン: ホーム

該当の投稿:
https://social.vivaldi.net/@clockJPvs/113094505412812547 (https://fedibird.com/web/statuses/113094505604862679)
https://social.vivaldi.net/@clockJPvs/113094505449029340 (https://fedibird.com/web/statuses/113094505667697778)

webでの表示:
image

Mistdonでの表示:
image

@hanubeki
Copy link
Author

hanubeki commented Sep 7, 2024

2日遅れの bsky.brid.gy からの投稿が一番下に追いやられているのを見ると、TL読み込み時に時系列でソートする処理が問題なのかもしれません。

@tizerm
Copy link
Owner

tizerm commented Oct 12, 2024

こういう「仕様」にしている理由は

「URLをユニークキーにするのは通知に使えないのと、一部バージョンの古いMisskeyで不具合を出すから」
「リモートサーバーとローカルサーバーでタイムスタンプの解釈にコンマ0秒単位の違いが発生するため、複数のタイムラインを同じタイムラインに表示する運用に対して同一の投稿が重複する可能性がある」
「おそらく人力でコンマ0秒以内に連続投稿するような人はいない」

という理由からなんですが、

「botではコンマ0秒以内の投稿は普通にある」
「同一グループに複数のタイムラインを表示しない、もしくは単一サーバーで完結させている人にとってはただのバグでしかない」

という観点があるので、やはり対応したほうがいいのかなあって気がしています。
ユニークキーの詳細度をオプションで設定したらどうかなあって思ってるんですけど分かりづらい気がするんだよな……。

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