Frontend: Removed typing indicator callback

This commit is contained in:
Natty 2023-07-31 18:20:55 +02:00
parent b0e8408776
commit 0a6665ce9c
Signed by: natty
GPG Key ID: BF6CB659ADEE60EC
1 changed files with 1 additions and 5 deletions

View File

@ -224,14 +224,13 @@
</template>
<script lang="ts" setup>
import { inject, watch, nextTick, onMounted, defineAsyncComponent } from "vue";
import { defineAsyncComponent, inject, nextTick, onMounted, watch } from "vue";
import * as mfm from "mfm-js";
import * as misskey from "calckey-js";
import insertTextAtCursor from "insert-text-at-cursor";
import { length } from "stringz";
import { toASCII } from "punycode/";
import * as Acct from "calckey-js/built/acct";
import { throttle } from "throttle-debounce";
import XNoteSimple from "@/components/MkNoteSimple.vue";
import XNotePreview from "@/components/MkNotePreview.vue";
import XPostFormAttaches from "@/components/MkPostFormAttaches.vue";
@ -242,7 +241,6 @@ import { extractMentions } from "@/scripts/extract-mentions";
import { formatTimeString } from "@/scripts/format-time-string";
import { Autocomplete } from "@/scripts/autocomplete";
import * as os from "@/os";
import { stream } from "@/stream";
import { selectFiles } from "@/scripts/select-file";
import { defaultStore, notePostInterruptors, postFormActions } from "@/store";
import MkInfo from "@/components/MkInfo.vue";
@ -669,12 +667,10 @@ function onKeydown(ev: KeyboardEvent) {
)
post();
if (ev.which === 27) emit("esc");
typing();
}
function onCompositionUpdate(ev: CompositionEvent) {
imeText = ev.data;
typing();
}
function onCompositionEnd(ev: CompositionEvent) {