Browse Source

Update CalendarHandler.swift

pull/101/head
Abhishek 4 years ago
parent
commit
3ae03f2aab
  1. 4
      Clocker/Events and Reminders/CalendarHandler.swift

4
Clocker/Events and Reminders/CalendarHandler.swift

@ -389,7 +389,9 @@ extension EventCenter {
for result in results { for result in results {
if result.resultType == .link, var actualLink = result.url?.absoluteString { if result.resultType == .link, var actualLink = result.url?.absoluteString {
// Check for Zoom links // Check for Zoom links
if actualLink.contains("zoom.us/j/") || actualLink.contains("zoom.us/s/") || actualLink.contains("zoom.us/w/") { if actualLink.contains("zoom.us/j/")
|| actualLink.contains("zoom.us/s/")
|| actualLink.contains("zoom.us/w/") {
// Create a Zoom App link // Create a Zoom App link
let workspace = NSWorkspace.shared let workspace = NSWorkspace.shared
if workspace.urlForApplication(toOpen: URL(string: "zoommtg://")!) != nil { if workspace.urlForApplication(toOpen: URL(string: "zoommtg://")!) != nil {

Loading…
Cancel
Save