Skip to content

Commit

Permalink
Remove spaces from Chime PIN when launching meeting
Browse files Browse the repository at this point in the history
Chime sometimes refuses to parse PINs with whitespace, so strip them.
  • Loading branch information
Oren Nachman committed Jul 7, 2021
1 parent 7536ab7 commit d564c49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ChimeHelper/ChimeHelper/Chime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ public static void Join(string pin)
{
var chimeUrlProcess = new Process();

// strip whitespace out of PINs since Chime sometimes refuses to parse the space
chimeUrlProcess.StartInfo.FileName = String.Format(MEETING_URL_FORMAT, pin.Replace(" ", ""));
chimeUrlProcess.StartInfo.UseShellExecute = true;
chimeUrlProcess.StartInfo.FileName = String.Format(MEETING_URL_FORMAT, pin);

chimeUrlProcess.Start();
}
Expand Down

0 comments on commit d564c49

Please sign in to comment.