diff --git a/src/equicordplugins/homeTyping/index.tsx b/src/equicordplugins/homeTyping/index.tsx index 8d9c64d64..06aef63d8 100644 --- a/src/equicordplugins/homeTyping/index.tsx +++ b/src/equicordplugins/homeTyping/index.tsx @@ -7,7 +7,7 @@ import { Devs } from "@utils/constants"; import definePlugin from "@utils/types"; import { findComponentByCodeLazy, findStoreLazy } from "@webpack"; -import { TypingStore, useStateFromStores } from "@webpack/common"; +import { TypingStore, UserStore, useStateFromStores } from "@webpack/common"; const ThreeDots = findComponentByCodeLazy(".dots,", "dotRadius:"); @@ -21,7 +21,11 @@ export default definePlugin({ return ; }, isTyping() { - return useStateFromStores([TypingStore], () => PrivateChannelSortStore.getPrivateChannelIds().some(id => Object.keys(TypingStore.getTypingUsers(id)).length > 0)); + return useStateFromStores([TypingStore], () => + PrivateChannelSortStore.getPrivateChannelIds().some(id => + Object.keys(TypingStore.getTypingUsers(id)).some(userId => userId !== UserStore.getCurrentUser().id) + ) + ); }, patches: [ {