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"][],
|
||||
): Promise<boolean> {
|
||||
if (note.visibility === "specified") return false;
|
||||
if (note.visibility === "home") return false;
|
||||
|
||||
// アンテナ作成者がノート作成者にブロックされていたらスキップ
|
||||
const blockings = await blockingCache.fetch(noteUser.id, () =>
|
||||
|
|
|
@ -177,7 +177,7 @@ const calcViewState = () => {
|
|||
|
||||
calcViewState();
|
||||
|
||||
window.addEventListener("resize", calcViewState);
|
||||
matchMedia("(max-width: 1279px)").onchange = (mql) => calcViewState();
|
||||
|
||||
watch(defaultStore.reactiveState.menuDisplay, () => {
|
||||
calcViewState();
|
||||
|
|
Loading…
Reference in New Issue