diff options
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; |