Prevent newly-made unlisted posts from showing in antennas
This commit is contained in:
parent
b0cd3b25fc
commit
7c436d0a41
|
@ -26,6 +26,7 @@ export async function checkHitAntenna(
|
||||||
antennaUserFollowing?: User["id"][],
|
antennaUserFollowing?: User["id"][],
|
||||||
): Promise<boolean> {
|
): Promise<boolean> {
|
||||||
if (note.visibility === "specified") return false;
|
if (note.visibility === "specified") return false;
|
||||||
|
if (note.visibility === "home") return false;
|
||||||
|
|
||||||
// アンテナ作成者がノート作成者にブロックされていたらスキップ
|
// アンテナ作成者がノート作成者にブロックされていたらスキップ
|
||||||
const blockings = await blockingCache.fetch(noteUser.id, () =>
|
const blockings = await blockingCache.fetch(noteUser.id, () =>
|
||||||
|
|
|
@ -177,7 +177,7 @@ const calcViewState = () => {
|
||||||
|
|
||||||
calcViewState();
|
calcViewState();
|
||||||
|
|
||||||
window.addEventListener("resize", calcViewState);
|
matchMedia("(max-width: 1279px)").onchange = (mql) => calcViewState();
|
||||||
|
|
||||||
watch(defaultStore.reactiveState.menuDisplay, () => {
|
watch(defaultStore.reactiveState.menuDisplay, () => {
|
||||||
calcViewState();
|
calcViewState();
|
||||||
|
|
Loading…
Reference in New Issue