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