Enable to show unlisted tagged toots on the hashtag timeline#32
Merged
takayamaki merged 3 commits intoimas:imastodonfrom Aug 9, 2017
Merged
Enable to show unlisted tagged toots on the hashtag timeline#32takayamaki merged 3 commits intoimas:imastodonfrom
takayamaki merged 3 commits intoimas:imastodonfrom
Conversation
takayamaki
previously approved these changes
Aug 7, 2017
Member
takayamaki
left a comment
There was a problem hiding this comment.
PRの規模的に念のため #34 を先にマージしてから取り込むつもり
deflis
suggested changes
Aug 8, 2017
deflis
left a comment
There was a problem hiding this comment.
実際の確認まだしてないですが、懸念がありそうな雰囲気があるので修正依頼にしておきます。
| end | ||
|
|
||
| return if status.account.silenced? || !status.public_visibility? || status.reblog? | ||
| return if status.account.silenced? || !status.public_visibility? && !status.unlisted_visibility? || status.reblog? |
There was a problem hiding this comment.
この下のif文も修正しないと、deliver_to_publicにunlistedも行かないですかね?
Collaborator
Author
There was a problem hiding this comment.
あー書き忘れてましたね()
直します
あとrender_anonymous_payload(status)ってこのままで大丈夫ですかね
Member
There was a problem hiding this comment.
unlistedなのにLTLまで流れて行ってしまうバグを見落とすとかあまりにもガバガバだったので恥じ入るばかり
render_anonymous_payloadはnodeにredis pub/sub経由でぶん投げるメッセージを生成しているだけなので問題なさそう
There was a problem hiding this comment.
ハッシュタグの付いたリプライはハッシュタグに乗るっぽいけど元からの仕様っぽいので大丈夫そう
Collaborator
Author
|
記憶が1分も持たないことが判明しました(直しました |
takayamaki
requested changes
Aug 8, 2017
Collaborator
Author
|
修正しました。自環境で確認したところ大丈夫でした。 |
takayamaki
approved these changes
Aug 8, 2017
Member
|
LGTM |
Member
|
というわけで #34 をマージした後でこっちも一緒に取り込みまーす |
takayamaki
pushed a commit
to takayamaki/mastodon
that referenced
this pull request
Nov 17, 2017
imas#32 * Enable to show unlisted tagged toots on the hashtag timeline * Add missing conditional expression * Correcting visibility filtering
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Based on #29
Currently, only "public" toots with hashtags are flowing to the hashtag timeline (/api/v1/streaming/hashtag), but this modifying enables to flow "unlisted" toots to the hash tag timeline.
現在、ハッシュタグ付きのトゥートについてはpublicなもののみがハッシュタグタイムライン(/api/v1/streaming/hashtag)に流れていますが、unlistedなトゥートでもハッシュタグタイムラインに流れるようにします。