Skip to content

Commit

Permalink
Fix zoom link first query parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
leits committed Sep 1, 2020
1 parent 3d59bf4 commit f0bb2c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MeetingBar/StatusBarItemControler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ func openMeetingURL(_ service: MeetingServices, _ url: URL) {
}
case .zoom:
if Defaults[.useAppForZoomLinks] {
let urlString = url.absoluteString.replacingOccurrences(of: "/j/", with: "/join?confno=")
let urlString = url.absoluteString.replacingOccurrences(of: "?", with: "&").replacingOccurrences(of: "/j/", with: "/join?confno=")
var teamsAppURL = URLComponents(url: URL(string: urlString)!, resolvingAgainstBaseURL: false)!
teamsAppURL.scheme = "zoommtg"
let result = openLinkInDefaultBrowser(teamsAppURL.url!)
Expand Down

0 comments on commit f0bb2c4

Please sign in to comment.