Skip to content

タグTLにunlistedなリプライが流れないように#107

Merged
takayamaki merged 5 commits intoimas:imastodonfrom
RinShibuya:fix-92
Nov 16, 2017
Merged

タグTLにunlistedなリプライが流れないように#107
takayamaki merged 5 commits intoimas:imastodonfrom
RinShibuya:fix-92

Conversation

@rinsuki
Copy link
Copy Markdown

@rinsuki rinsuki commented Oct 21, 2017

Fix #92.
image

@rinsuki rinsuki changed the title タグTLにもLTLと同様にリプライが流れないように タグTLにunlistedなリプライが流れないように Oct 22, 2017
@rinsuki
Copy link
Copy Markdown
Author

rinsuki commented Oct 22, 2017

publicなトゥートはMastodon本家でもハッシュタグTL に出るため、Mastodon本家にあわせてunlistedで投稿されたリプライだけハッシュタグTLに出ないようにしました。
(リプライの表示判定自体はLTLのものと同じです)
publicなトゥートもハッシュタグTLに出ない方がよければrevertします。

@takayamaki
Copy link
Copy Markdown
Member

/app/models/status.rbのみの変更だと/api/v1/timelinesを通じたREST APIでの取得では出なくなりますが、WebSocketを通じたstreamingでは下記画像のように配信されてしまいます。

#32 を参考に /app/services/fan_out_on_write_service.rbも修正してみてください

image

Copy link
Copy Markdown
Member

@takayamaki takayamaki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

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

Successfully merging this pull request may close these issues.

2 participants