diff options
author | Nuckyz <61953774+Nuckyz@users.noreply.github.com> | 2023-05-04 21:47:08 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-05 02:47:08 +0200 |
commit | 474932161fb6e50e90cbd4e1546255b6a520394e (patch) | |
tree | 9c62ec029314fbe8447ba85f5ef74e6870f4cc63 /src/plugins/typingIndicator.tsx | |
parent | bd95a25f4c111c3d0e2564fb1bfcf5b8e12e87de (diff) | |
download | Vencord-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.tsx | 2 |
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; |