aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/typingIndicator.tsx
diff options
context:
space:
mode:
authorNuckyz <61953774+Nuckyz@users.noreply.github.com>2023-05-04 21:47:08 -0300
committerGitHub <noreply@github.com>2023-05-05 02:47:08 +0200
commit474932161fb6e50e90cbd4e1546255b6a520394e (patch)
tree9c62ec029314fbe8447ba85f5ef74e6870f4cc63 /src/plugins/typingIndicator.tsx
parentbd95a25f4c111c3d0e2564fb1bfcf5b8e12e87de (diff)
downloadVencord-474932161fb6e50e90cbd4e1546255b6a520394e.tar.gz
Vencord-474932161fb6e50e90cbd4e1546255b6a520394e.tar.bz2
Vencord-474932161fb6e50e90cbd4e1546255b6a520394e.zip
Fix FakeNitro Stickers (#1048)
Diffstat (limited to 'src/plugins/typingIndicator.tsx')
-rw-r--r--src/plugins/typingIndicator.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/typingIndicator.tsx b/src/plugins/typingIndicator.tsx
index 4b0d162..8f98d5b 100644
--- a/src/plugins/typingIndicator.tsx
+++ b/src/plugins/typingIndicator.tsx
@@ -57,7 +57,7 @@ function TypingIndicator({ channelId }: { channelId: string; }) {
if (isChannelMuted) return null;
}
- const myId = UserStore.getCurrentUser().id;
+ const myId = UserStore.getCurrentUser()?.id;
const typingUsersArray = Object.keys(typingUsers).filter(id => id !== myId && !(RelationshipStore.isBlocked(id) && !settings.store.includeBlockedUsers));
let tooltipText: string;