Don't want animated MFM playing when logged out

This commit is contained in:
Freeplay 2023-06-15 16:26:33 -04:00
parent c09b1d3847
commit c0015adad4
3 changed files with 4 additions and 1 deletions

View file

@ -7,6 +7,7 @@
<Mfm
v-if="text"
:text="text"
:advancedMfm="false"
></Mfm>
<slot v-else name="value"></slot>
<button

View file

@ -9,7 +9,7 @@
class="mfm-object"
:class="{
nowrap,
advancedMfm: defaultStore.state.advancedMfm || advancedMfm,
advancedMfm: ($i && defaultStore.state.advancedMfm) || advancedMfm,
}"
/>
</template>
@ -18,6 +18,7 @@
import {} from "vue";
import MfmCore from "@/components/mfm";
import { defaultStore } from "@/store";
import { $i } from "@/account";
const props = withDefaults(
defineProps<{

View file

@ -51,6 +51,7 @@
class="desc"
:class="{ collapsed: isLong && collapsed }"
:text="meta.description || i18n.ts.introMisskey"
:advancedMfm="false"
></Mfm>
<XShowMoreButton
v-if="isLong"