mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-28 14:58:09 +09:00
Prevent newly-made unlisted posts from showing in antennas
This commit is contained in:
parent
7b3a3f506a
commit
37156d236f
@ -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
Block a user