Skip to content

Commit

Permalink
Merge pull request #12702 from jfsiebel/prevent-add-connection-status…
Browse files Browse the repository at this point in the history
…-spam

Prevent addConnectionStatus log spam when not authenticated
  • Loading branch information
antobinary committed Jul 2, 2021
2 parents 213e0e4 + 14abe5c commit 2d0e31c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ export default function addConnectionStatus(status, type, value) {
check(type, String);
check(value, Object);

if (!this.userId) return;

const { meetingId, requesterUserId } = extractCredentials(this.userId);

check(meetingId, String);
Expand Down

0 comments on commit 2d0e31c

Please sign in to comment.