Compare commits
2 Commits
cb8e42d219
...
c3e7791b3e
Author | SHA1 | Date |
---|---|---|
|
c3e7791b3e | |
|
f23aae4ac7 |
|
@ -8,6 +8,7 @@
|
||||||
<div class="body">
|
<div class="body">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<Mfm
|
<Mfm
|
||||||
|
:customEmojis="$instance.emojis"
|
||||||
:text="preprocess(text).trim()"
|
:text="preprocess(text).trim()"
|
||||||
:author="$i"
|
:author="$i"
|
||||||
:i="$i"
|
:i="$i"
|
||||||
|
@ -20,7 +21,6 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import {} from "vue";
|
|
||||||
import { preprocess } from "@/scripts/preprocess";
|
import { preprocess } from "@/scripts/preprocess";
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
|
|
|
@ -33,7 +33,7 @@ impl EmojiContext {
|
||||||
|
|
||||||
self.0.extend(
|
self.0.extend(
|
||||||
more.iter()
|
more.iter()
|
||||||
.filter(|&e| existing.contains(&e.emoji.0.shortcode))
|
.filter(|&e| !existing.contains(&e.emoji.0.shortcode))
|
||||||
.cloned(),
|
.cloned(),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue